Skip to content
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

Nitpick: "BLAh".toLowerCase().equals("blah") should be replaced with "BLAJ".equalsIgnoreCase("blah") #4

Closed
ColinHebert opened this issue Sep 7, 2019 · 0 comments

Comments

@ColinHebert
Copy link

ColinHebert commented Sep 7, 2019

https://docs.oracle.com/javase/7/docs/api/java/lang/String.html#equalsIgnoreCase(java.lang.String)

if (tryAgain.toLowerCase().equals("y")) {

else if (tryAgain.toLowerCase().equals("n")) {

@ColinHebert ColinHebert changed the title Nitpick: "BLAh".toLowerCase().equals("blah") should be replaced with `"BLAJ".equalsIgnoreCase("blah") Nitpick: "BLAh".toLowerCase().equals("blah") should be replaced with "BLAJ".equalsIgnoreCase("blah") Sep 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants