cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject cassandra git commit: CompositeType.extractComponent is static, call it as such
Date Wed, 18 Mar 2015 02:39:37 GMT
Repository: cassandra
Updated Branches:
  refs/heads/trunk 3608bd249 -> 593886a12


CompositeType.extractComponent is static, call it as such


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

Branch: refs/heads/trunk
Commit: 593886a12062429d752e58a27baba4fb6ba7ac76
Parents: 3608bd2
Author: Dave Brosius <dbrosius@mebigfatguy.com>
Authored: Tue Mar 17 22:39:26 2015 -0400
Committer: Dave Brosius <dbrosius@mebigfatguy.com>
Committed: Tue Mar 17 22:39:26 2015 -0400

----------------------------------------------------------------------
 .../index/composites/CompositesIndexOnCollectionKeyAndValue.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/593886a1/src/java/org/apache/cassandra/db/index/composites/CompositesIndexOnCollectionKeyAndValue.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/db/index/composites/CompositesIndexOnCollectionKeyAndValue.java
b/src/java/org/apache/cassandra/db/index/composites/CompositesIndexOnCollectionKeyAndValue.java
index e18ea4e..0b7f579 100644
--- a/src/java/org/apache/cassandra/db/index/composites/CompositesIndexOnCollectionKeyAndValue.java
+++ b/src/java/org/apache/cassandra/db/index/composites/CompositesIndexOnCollectionKeyAndValue.java
@@ -72,7 +72,7 @@ public class CompositesIndexOnCollectionKeyAndValue extends CompositesIndexInclu
 
     private ByteBuffer extractIndexKeyComponent(IndexedEntry entry, int component)
     {
-        return ((CompositeType)getIndexKeyComparator()).extractComponent(entry.indexValue.getKey(),
component);
+        return CompositeType.extractComponent(entry.indexValue.getKey(), component);
     }
 
     private ByteBuffer extractCollectionValue(IndexedEntry entry)


Mime
View raw message