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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]