cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject cassandra git commit: parseLong for primitives
Date Thu, 18 Dec 2014 02:17:28 GMT
Repository: cassandra
Updated Branches:
  refs/heads/trunk ba6e4239e -> a7c1729c1


parseLong for primitives


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/a7c1729c
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/a7c1729c
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/a7c1729c

Branch: refs/heads/trunk
Commit: a7c1729c17a9f1eaa26b23338357b364ba986c77
Parents: ba6e423
Author: Dave Brosius <dbrosius@mebigfatguy.com>
Authored: Wed Dec 17 21:16:19 2014 -0500
Committer: Dave Brosius <dbrosius@mebigfatguy.com>
Committed: Wed Dec 17 21:16:49 2014 -0500

----------------------------------------------------------------------
 src/java/org/apache/cassandra/dht/Murmur3Partitioner.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/a7c1729c/src/java/org/apache/cassandra/dht/Murmur3Partitioner.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/dht/Murmur3Partitioner.java b/src/java/org/apache/cassandra/dht/Murmur3Partitioner.java
index 0ff5eeb..11d3abc 100644
--- a/src/java/org/apache/cassandra/dht/Murmur3Partitioner.java
+++ b/src/java/org/apache/cassandra/dht/Murmur3Partitioner.java
@@ -247,7 +247,7 @@ public class Murmur3Partitioner implements IPartitioner
         {
             try
             {
-                return new LongToken(Long.valueOf(string));
+                return new LongToken(Long.parseLong(string));
             }
             catch (NumberFormatException e)
             {


Mime
View raw message