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

Should be an OR not AND ;) #1

Closed
razvn opened this issue Feb 27, 2023 · 1 comment
Closed

Should be an OR not AND ;) #1

razvn opened this issue Feb 27, 2023 · 1 comment

Comments

@razvn
Copy link

razvn commented Feb 27, 2023

if (name == null && Character.isUpperCase(name.charAt(0)))

if (name == null || !Character.isUpperCase(name.charAt(0)))

@joshlong
Copy link
Owner

hah! thank you for this :) ive only just seen this PR but the code has, accidentally, been fixed so thank you for that.

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