question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Java Code samples are broken

See original GitHub issue

Describe the bug Java code samples don’t work

To Reproduce Try running any of the Java code samples locally, they are full of errors - syntax error, logical error. Don’t anyone at Twitter know how to write a good Java Program, can’t believe it. Twitter is supposed to be a huge Java shop.

Expected behavior try to compile java program - any of them for example inside of “Tweet-Lookup” folder, run javac get_users.java and see what happens. Can’t believe you guys don’t even know how to name java classes and programs?

Additional context I’ve forked the repo and started to fix your bugs, will submit a PR soon 😑🔫

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:2
  • Comments:5

github_iconTop GitHub Comments

1reaction
paulvicommented, Aug 18, 2021

@suyashjoshi make Pull Request

0reactions
paulvicommented, Aug 18, 2021

I added my changes for Java as #43, see https://github.com/paulvi/Twitter-API-v2-sample-code

Read more comments on GitHub >

github_iconTop Results From Across the Web

Java Software Errors: How to Avoid 50 Code Issues in Java
We've rounded up 50 of the most common Java software errors, complete with code examples and tutorials to help you work around common...
Read more >
Java Coding Samples
A program with examples of various Java syntax that converts a base 10 int to base 2 String. ... Class is "broken" because...
Read more >
Fix the top 10 most common compile time errors in Java
Example of an 'unreachable code' error, one of several common Java compile errors. 1. Class and source file mismatch. The name of the...
Read more >
Programmatically fix broken Java source code
@djthoms consider the simple case of an unclosed string. Where and how do you close it programmatically? String foo = "this is foo;...
Read more >
Top 10 Most Common Mistakes That Java Developers Make
If you have forgotten to put a “break” in “case 0” in the code example below, the program will write “Zero” followed by...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found