cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject cassandra git commit: use constants
Date Mon, 19 Jan 2015 14:36:27 GMT
Repository: cassandra
Updated Branches:
  refs/heads/trunk 17624248e -> d314c07a1


use constants


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

Branch: refs/heads/trunk
Commit: d314c07a1fd621362d7b6bb80d7f551943018d44
Parents: 1762424
Author: Dave Brosius <dbrosius@mebigfatguy.com>
Authored: Mon Jan 19 09:35:21 2015 -0500
Committer: Dave Brosius <dbrosius@mebigfatguy.com>
Committed: Mon Jan 19 09:35:21 2015 -0500

----------------------------------------------------------------------
 .../org/apache/cassandra/serializers/CollectionSerializer.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/d314c07a/src/java/org/apache/cassandra/serializers/CollectionSerializer.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/serializers/CollectionSerializer.java b/src/java/org/apache/cassandra/serializers/CollectionSerializer.java
index 29ae2fd..c747bfd 100644
--- a/src/java/org/apache/cassandra/serializers/CollectionSerializer.java
+++ b/src/java/org/apache/cassandra/serializers/CollectionSerializer.java
@@ -94,7 +94,7 @@ public abstract class CollectionSerializer<T> implements TypeSerializer<T>
 
     protected static void writeValue(ByteBuffer output, ByteBuffer value, int version)
     {
-        if (version >= 3)
+        if (version >= Server.VERSION_3)
         {
             if (value == null)
             {


Mime
View raw message