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

refactor: flip literals to reduce risk of NPE #2365

Merged
merged 1 commit into from
Aug 10, 2018
Merged

refactor: flip literals to reduce risk of NPE #2365

merged 1 commit into from
Aug 10, 2018

Conversation

zielint0
Copy link
Contributor

@zielint0 zielint0 commented Aug 9, 2018

Code style issues

  • 'expression.equals("literal")' rather than '"literal".equals(expression)'

Motivation: use popular coding style to reduce risk of null pointer exceptions (NPEs).

I am ready to merge.

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

Successfully merging this pull request may close these issues.

2 participants