cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject cassandra git commit: parseDouble for primitives
Date Sat, 06 Dec 2014 02:29:24 GMT
Repository: cassandra
Updated Branches:
  refs/heads/trunk b7082df27 -> e7b088317


parseDouble for primitives


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

Branch: refs/heads/trunk
Commit: e7b08831743c48e8718e4cd79093f20d6c2f31c5
Parents: b7082df
Author: Dave Brosius <dbrosius@mebigfatguy.com>
Authored: Fri Dec 5 21:28:28 2014 -0500
Committer: Dave Brosius <dbrosius@mebigfatguy.com>
Committed: Fri Dec 5 21:28:28 2014 -0500

----------------------------------------------------------------------
 .../org/apache/cassandra/cql3/statements/PropertyDefinitions.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/e7b08831/src/java/org/apache/cassandra/cql3/statements/PropertyDefinitions.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/cql3/statements/PropertyDefinitions.java b/src/java/org/apache/cassandra/cql3/statements/PropertyDefinitions.java
index 23cf8e1..793285b 100644
--- a/src/java/org/apache/cassandra/cql3/statements/PropertyDefinitions.java
+++ b/src/java/org/apache/cassandra/cql3/statements/PropertyDefinitions.java
@@ -106,7 +106,7 @@ public class PropertyDefinitions
         {
             try
             {
-                return Double.valueOf(value);
+                return Double.parseDouble(value);
             }
             catch (NumberFormatException e)
             {


Mime
View raw message