cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brandonwilli...@apache.org
Subject git commit: Remove deprecated removetoken command from nodetool
Date Wed, 17 Sep 2014 21:48:15 GMT
Repository: cassandra
Updated Branches:
  refs/heads/trunk 47cda388f -> a07977900


Remove deprecated removetoken command from nodetool


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

Branch: refs/heads/trunk
Commit: a079779000a9e4479d5a035a9ffba8fabfdf5222
Parents: 47cda38
Author: Brandon Williams <brandonwilliams@apache.org>
Authored: Wed Sep 17 14:47:52 2014 +0000
Committer: Brandon Williams <brandonwilliams@apache.org>
Committed: Wed Sep 17 14:47:52 2014 +0000

----------------------------------------------------------------------
 src/java/org/apache/cassandra/tools/NodeTool.java | 12 ------------
 1 file changed, 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/a0797790/src/java/org/apache/cassandra/tools/NodeTool.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/tools/NodeTool.java b/src/java/org/apache/cassandra/tools/NodeTool.java
index a27c162..f7baa8b 100644
--- a/src/java/org/apache/cassandra/tools/NodeTool.java
+++ b/src/java/org/apache/cassandra/tools/NodeTool.java
@@ -113,7 +113,6 @@ public class NodeTool
                 ProxyHistograms.class,
                 Rebuild.class,
                 Refresh.class,
-                RemoveToken.class,
                 RemoveNode.class,
                 Repair.class,
                 SetCacheCapacity.class,
@@ -1602,17 +1601,6 @@ public class NodeTool
         }
     }
 
-    @Deprecated
-    @Command(name = "removetoken", description = "DEPRECATED (see removenode)", hidden =
true)
-    public static class RemoveToken extends NodeToolCmd
-    {
-        @Override
-        public void execute(NodeProbe probe)
-        {
-            System.err.println("Warn: removetoken is deprecated, please use removenode instead");
-        }
-    }
-
     @Command(name = "removenode", description = "Show status of current node removal, force
completion of pending removal or remove provided ID")
     public static class RemoveNode extends NodeToolCmd
     {


Mime
View raw message