incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [87/92] [abbrv] git commit: Fixed issue with the commands being renamed.
Date Tue, 11 Jun 2013 02:42:13 GMT
Fixed issue with the commands being renamed.


Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/2d65396a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/2d65396a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/2d65396a

Branch: refs/heads/master
Commit: 2d65396aa2ebbd1e059590f17f2ced13590e2fb1
Parents: b20524d
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Mon Jun 10 21:50:28 2013 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Mon Jun 10 21:50:28 2013 -0400

----------------------------------------------------------------------
 .../java/org/apache/blur/shell/EnableDisableTableCommand.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/2d65396a/blur-shell/src/main/java/org/apache/blur/shell/EnableDisableTableCommand.java
----------------------------------------------------------------------
diff --git a/blur-shell/src/main/java/org/apache/blur/shell/EnableDisableTableCommand.java
b/blur-shell/src/main/java/org/apache/blur/shell/EnableDisableTableCommand.java
index 0938889..0c3a1a9 100644
--- a/blur-shell/src/main/java/org/apache/blur/shell/EnableDisableTableCommand.java
+++ b/blur-shell/src/main/java/org/apache/blur/shell/EnableDisableTableCommand.java
@@ -33,9 +33,9 @@ public class EnableDisableTableCommand extends Command {
     }
     String tablename = args[1];
 
-    if (args[0].equalsIgnoreCase("enabletable")) {
+    if (args[0].equalsIgnoreCase("enable")) {
       client.enableTable(tablename);
-    } else if (args[0].equalsIgnoreCase("disabletable")) {
+    } else if (args[0].equalsIgnoreCase("disable")) {
       client.disableTable(tablename);
     } else {
       throw new CommandException("unknown command" + args[0]);


Mime
View raw message