GitHub user BruceKuiLiu opened a pull request: https://github.com/apache/camel/pull/2038
Replace the Number.valueOf method with the Number.parseXXX method. 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 You can merge this pull request into a Git repository by running: $ git pull https://github.com/BruceKuiLiu/camel boxedParsing Alternatively you can review and apply these changes as the patch at: https://github.com/apache/camel/pull/2038.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2038 ---- commit 9c5b4be5b3f2ef6bfd6d423aeb601dc2f036aed6 Author: Kui LIU <brucekui...@gmail.com> Date: 2017-10-13T16:06:47Z Replace the Number.valueOf method with the Number.parseXXX method. 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 ---- ---