You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by db...@apache.org on 2015/03/18 03:39:37 UTC
cassandra git commit: CompositeType.extractComponent is static,
call it as such
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 <db...@mebigfatguy.com>
Authored: Tue Mar 17 22:39:26 2015 -0400
Committer: Dave Brosius <db...@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)