-
Notifications
You must be signed in to change notification settings - Fork 7
Address some miscellaneous warnings #7297
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
Conversation
| } | ||
| } | ||
|
|
||
| @Deprecated // Use IntegerUtils.asLong() instead |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this method just call IntegerUtils.asLong()?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably... I'm double checking with Matt just in case I'm missing something
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These methods have been updated to call their IntegerUtils counterparts
| return null==o ? null : o.getClass() == Long.class ? (Long)o : ((Number)o).longValue(); | ||
| } | ||
|
|
||
| @Deprecated // Use IntegerUtils.asLong() instead |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably you meant IntegerUtils.asInteger() and same question here as above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, corrected.
Rationale
Address some IntelliJ warnings and other miscellaneous nits. No functional changes.