You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by BruceKuiLiu <gi...@git.apache.org> on 2017/10/13 16:11:33 UTC

[GitHub] camel pull request #2038: Replace the Number.valueOf method with the Number....

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 <br...@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

----


---

[GitHub] camel pull request #2038: Replace the Number.valueOf method with the Number....

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/camel/pull/2038


---