cassandra-pr mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BruceKuiLiu <...@git.apache.org>
Subject [GitHub] cassandra pull request #163: Replace the valueOf() method with parseXXX() me...
Date Thu, 12 Oct 2017 19:43:14 GMT
GitHub user BruceKuiLiu opened a pull request:

    https://github.com/apache/cassandra/pull/163

    Replace the valueOf() method with parseXXX() method.

    It is more efficient to just call the static parseXXX method to extract the 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/cassandra trunk

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cassandra/pull/163.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 #163
    
----
commit e2e51becae8c2230b17b5e720b8a7d71933ffba8
Author: Kui LIU <brucekuiliu@gmail.com>
Date:   2017-10-12T19:38:02Z

    Replace the valueOf() method with parseXXX() method.
    
    It is more efficient to just call the static parseXXX method to extract the unboxed primitive
value from a String.
    http://findbugs.sourceforge.net/bugDescriptions.html#DM_BOXED_PRIMITIVE_FOR_PARSING

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org


Mime
View raw message