cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject [1/2] git commit: explicit cast to specify varargs call
Date Wed, 09 Oct 2013 23:33:26 GMT
Updated Branches:
  refs/heads/trunk a50c4faeb -> e9f9c1479


explicit cast to specify varargs call


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

Branch: refs/heads/trunk
Commit: 490135213d9cca5fbffc145d94222ec74dc65b6a
Parents: 95ac0de
Author: Dave Brosius <dbrosius@mebigfatguy.com>
Authored: Wed Oct 9 19:31:32 2013 -0400
Committer: Dave Brosius <dbrosius@mebigfatguy.com>
Committed: Wed Oct 9 19:31:32 2013 -0400

----------------------------------------------------------------------
 src/java/org/apache/cassandra/tools/NodeCmd.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/49013521/src/java/org/apache/cassandra/tools/NodeCmd.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/tools/NodeCmd.java b/src/java/org/apache/cassandra/tools/NodeCmd.java
index 95da85a..011d823 100644
--- a/src/java/org/apache/cassandra/tools/NodeCmd.java
+++ b/src/java/org/apache/cassandra/tools/NodeCmd.java
@@ -1322,7 +1322,7 @@ public class NodeCmd
 
         String format = "%-41s%-19s%-29s%-26s%-15s%-15s%s%n";
         List<String> indexNames = tabularData.getTabularType().getIndexNames();
-        out.printf(format, indexNames.toArray(new String[indexNames.size()]));
+        out.printf(format, (Object[]) indexNames.toArray(new String[indexNames.size()]));
 
         Set<?> values = tabularData.keySet();
         for (Object eachValue : values)


Mime
View raw message