Java Code samples are broken
See original GitHub issueDescribe 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:
- Created 3 years ago
- Reactions:2
- Comments:5
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@suyashjoshi make Pull Request
I added my changes for Java as #43, see https://github.com/paulvi/Twitter-API-v2-sample-code