cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject git commit: CompositeType.build is a static method
Date Thu, 25 Jul 2013 05:48:39 GMT
Updated Branches:
  refs/heads/trunk 843e92c96 -> a2a31244a


CompositeType.build is a static method


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

Branch: refs/heads/trunk
Commit: a2a31244a7434cd93409754d6bbeb180147d3df1
Parents: 843e92c
Author: Dave Brosius <dbrosius@apache.org>
Authored: Thu Jul 25 01:48:09 2013 -0400
Committer: Dave Brosius <dbrosius@apache.org>
Committed: Thu Jul 25 01:48:09 2013 -0400

----------------------------------------------------------------------
 src/java/org/apache/cassandra/hadoop/cql3/CqlRecordWriter.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/a2a31244/src/java/org/apache/cassandra/hadoop/cql3/CqlRecordWriter.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/hadoop/cql3/CqlRecordWriter.java b/src/java/org/apache/cassandra/hadoop/cql3/CqlRecordWriter.java
index cc8500e..6d50775 100644
--- a/src/java/org/apache/cassandra/hadoop/cql3/CqlRecordWriter.java
+++ b/src/java/org/apache/cassandra/hadoop/cql3/CqlRecordWriter.java
@@ -306,7 +306,7 @@ final class CqlRecordWriter extends AbstractColumnFamilyRecordWriter<Map<String,
             for (int i = 0; i< keys.length; i++)
                 keys[i] = keyColumns.get(partitionKeyColumns[i]);
 
-            partitionKey = ((CompositeType) keyValidator).build(keys);
+            partitionKey = CompositeType.build(keys);
         }
         else
         {


Mime
View raw message