cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject git commit: remove infinite loop
Date Fri, 26 Oct 2012 03:49:17 GMT
Updated Branches:
  refs/heads/trunk 8ef2cb838 -> beb186bdc


remove infinite loop


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

Branch: refs/heads/trunk
Commit: beb186bdcc54f80dbc601027fcaf9a9d101daef6
Parents: 8ef2cb8
Author: Dave Brosius <dbrosius@apache.org>
Authored: Thu Oct 25 23:48:51 2012 -0400
Committer: Dave Brosius <dbrosius@apache.org>
Committed: Thu Oct 25 23:48:51 2012 -0400

----------------------------------------------------------------------
 src/java/org/apache/cassandra/tools/Shuffle.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/beb186bd/src/java/org/apache/cassandra/tools/Shuffle.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/tools/Shuffle.java b/src/java/org/apache/cassandra/tools/Shuffle.java
index a091ab8..5bcc79a 100644
--- a/src/java/org/apache/cassandra/tools/Shuffle.java
+++ b/src/java/org/apache/cassandra/tools/Shuffle.java
@@ -5,6 +5,7 @@ import java.io.IOException;
 import java.net.UnknownHostException;
 import java.nio.ByteBuffer;
 import java.util.ArrayList;
+import java.util.Arrays;
 import java.util.Collection;
 import java.util.Collections;
 import java.util.Date;
@@ -197,7 +198,7 @@ public class Shuffle extends AbstractJmxClient
      */
     public void enableRelocations(String...endpoints)
     {
-        enableRelocations(endpoints);
+        enableRelocations(Arrays.asList(endpoints));
     }
 
     /**


Mime
View raw message