-
-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This 'while' statement doesn't loop #29
Comments
Yeah, it checks if the entry exists in the database that means if resultset has at least one element, i think it can be replaced with an if statement :) |
Good catch, you are doing amazing work i am impressed. |
@HelgeStenstrom How you can do that ? Sending me a link with the exact line of the file in github like you did ? I don't know how to do it ... can you show me ? |
Oouuu i found out :) => https://help.github.com/en/articles/creating-a-permanent-link-to-a-code-snippet |
Most of my findings are from IntelliJ’s code analysis. |
Would you like to solve this issue here is a solution? https://javarevisited.blogspot.com/2016/10/how-to-check-if-resultset-is-empty-in-Java-JDBC.html IT'S easy for me but in case you want to give it a try :) |
I probably can’t do any coding until August. I leave this to you. |
XR3Player/src/main/java/com/goxr3plus/xr3player/services/xplayer/XPlayerPlayService.java
Lines 340 to 343 in 7d79f3b
This 'while' statement doesn't loop. Does it work as intended? Can it be replaces with an if() structure instead?
The text was updated successfully, but these errors were encountered: