incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject git commit: Forgot a return in the truncate command.
Date Thu, 20 Jun 2013 11:55:20 GMT
Updated Branches:
  refs/heads/master ce716b27f -> 94c1f09d0


Forgot a return in the truncate command.


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

Branch: refs/heads/master
Commit: 94c1f09d0447db5197ed8c933b22c2b79add986b
Parents: ce716b2
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Thu Jun 20 07:54:30 2013 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Thu Jun 20 07:54:30 2013 -0400

----------------------------------------------------------------------
 .../src/main/java/org/apache/blur/shell/TruncateTableCommand.java   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/94c1f09d/blur-shell/src/main/java/org/apache/blur/shell/TruncateTableCommand.java
----------------------------------------------------------------------
diff --git a/blur-shell/src/main/java/org/apache/blur/shell/TruncateTableCommand.java b/blur-shell/src/main/java/org/apache/blur/shell/TruncateTableCommand.java
index 9490314..3611860 100644
--- a/blur-shell/src/main/java/org/apache/blur/shell/TruncateTableCommand.java
+++ b/blur-shell/src/main/java/org/apache/blur/shell/TruncateTableCommand.java
@@ -37,6 +37,7 @@ public class TruncateTableCommand extends Command {
     List<String> tableList = client.tableList();
     if (tableList.contains(tablename)) {
       out.println("Table does not exist.");
+      return;
     }
     TableDescriptor tableDescriptor = client.describe(tablename);
     if (tableDescriptor.isIsEnabled()) {


Mime
View raw message