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

Replace the Number.valueOf method with the Number.parseXXX method. #2038

Merged
merged 1 commit into from
Oct 13, 2017
Merged

Replace the Number.valueOf method with the Number.parseXXX method. #2038

merged 1 commit into from
Oct 13, 2017

Conversation

Kui-Liu
Copy link
Contributor

@Kui-Liu Kui-Liu commented Oct 13, 2017

It is more efficient to use the static parseXXX method to extract unboxed primitive value from a String.
http://findbugs.sourceforge.net/bugDescriptions.html#DM_BOXED_PRIMITIVE_FOR_PARSING

It is more efficient to use the static parseXXX method to extract unboxed primitive value from a String.
http://findbugs.sourceforge.net/bugDescriptions.html#DM_BOXED_PRIMITIVE_FOR_PARSING
@asfgit asfgit merged commit 9c5b4be into apache:master Oct 13, 2017
@aldettinger
Copy link
Contributor

aldettinger commented Oct 13, 2017

Thanks @brucekuiliu, PR merged.

@Kui-Liu
Copy link
Contributor Author

Kui-Liu commented Oct 13, 2017

@aldettinger I didn't close it, but it is a closed request. And there is no close button on my interface.

@aldettinger
Copy link
Contributor

aldettinger commented Oct 13, 2017 via email

@Kui-Liu Kui-Liu deleted the boxedParsing branch October 13, 2017 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants