cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject [2/2] git commit: fix build
Date Mon, 30 Jul 2012 20:40:58 GMT
fix build


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

Branch: refs/heads/trunk
Commit: 844b9c46c9ceb08a52da7738c8312e8c0b599737
Parents: 652ae9a
Author: Jonathan Ellis <jbellis@apache.org>
Authored: Mon Jul 30 15:38:53 2012 -0500
Committer: Jonathan Ellis <jbellis@apache.org>
Committed: Mon Jul 30 15:38:53 2012 -0500

----------------------------------------------------------------------
 .../cassandra/thrift/ThriftValidationTest.java     |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/844b9c46/test/unit/org/apache/cassandra/thrift/ThriftValidationTest.java
----------------------------------------------------------------------
diff --git a/test/unit/org/apache/cassandra/thrift/ThriftValidationTest.java b/test/unit/org/apache/cassandra/thrift/ThriftValidationTest.java
index 04f0d0f..478294f 100644
--- a/test/unit/org/apache/cassandra/thrift/ThriftValidationTest.java
+++ b/test/unit/org/apache/cassandra/thrift/ThriftValidationTest.java
@@ -21,6 +21,8 @@ package org.apache.cassandra.thrift;
  */
 
 
+import java.util.Arrays;
+
 import org.junit.Test;
 
 import org.apache.cassandra.SchemaLoader;
@@ -54,7 +56,7 @@ public class ThriftValidationTest extends SchemaLoader
         boolean gotException = false;
 
         // add a key_alias = "id"
-        newMetadata.keyAlias(AsciiType.instance.decompose("id"));
+        newMetadata.keyAliases(Arrays.asList(AsciiType.instance.decompose("id")));
 
         // should not throw IRE here
         try


Mime
View raw message