Made the Snapshot Command classes implement the TableFirstArgCommand marker 
interface


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

Branch: refs/heads/apache-blur-0.2
Commit: 453a0dd610473177f1a5b27c2e6b784ef2e0e029
Parents: 5bb7127
Author: Rahul Challapalli <[email protected]>
Authored: Tue Sep 17 20:21:57 2013 -0700
Committer: Rahul Challapalli <[email protected]>
Committed: Tue Sep 17 20:21:57 2013 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/blur/shell/CreateSnapshotCommand.java | 2 +-
 .../src/main/java/org/apache/blur/shell/ListSnapshotsCommand.java  | 2 +-
 .../src/main/java/org/apache/blur/shell/RemoveSnapshotCommand.java | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/453a0dd6/blur-shell/src/main/java/org/apache/blur/shell/CreateSnapshotCommand.java
----------------------------------------------------------------------
diff --git 
a/blur-shell/src/main/java/org/apache/blur/shell/CreateSnapshotCommand.java 
b/blur-shell/src/main/java/org/apache/blur/shell/CreateSnapshotCommand.java
index 0e04696..c8e1a6e 100644
--- a/blur-shell/src/main/java/org/apache/blur/shell/CreateSnapshotCommand.java
+++ b/blur-shell/src/main/java/org/apache/blur/shell/CreateSnapshotCommand.java
@@ -6,7 +6,7 @@ import org.apache.blur.thirdparty.thrift_0_9_0.TException;
 import org.apache.blur.thrift.generated.Blur.Iface;
 import org.apache.blur.thrift.generated.BlurException;
 
-public class CreateSnapshotCommand  extends Command {
+public class CreateSnapshotCommand  extends Command implements 
TableFirstArgCommand {
 
   @Override
   public void doit(PrintWriter out, Iface client, String[] args)

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/453a0dd6/blur-shell/src/main/java/org/apache/blur/shell/ListSnapshotsCommand.java
----------------------------------------------------------------------
diff --git 
a/blur-shell/src/main/java/org/apache/blur/shell/ListSnapshotsCommand.java 
b/blur-shell/src/main/java/org/apache/blur/shell/ListSnapshotsCommand.java
index 8b4261b..9e76ccd 100644
--- a/blur-shell/src/main/java/org/apache/blur/shell/ListSnapshotsCommand.java
+++ b/blur-shell/src/main/java/org/apache/blur/shell/ListSnapshotsCommand.java
@@ -9,7 +9,7 @@ import org.apache.blur.thirdparty.thrift_0_9_0.TException;
 import org.apache.blur.thrift.generated.BlurException;
 import org.apache.blur.thrift.generated.Blur.Iface;
 
-public class ListSnapshotsCommand extends Command {
+public class ListSnapshotsCommand extends Command implements 
TableFirstArgCommand {
 
   @Override
   public void doit(PrintWriter out, Iface client, String[] args)

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/453a0dd6/blur-shell/src/main/java/org/apache/blur/shell/RemoveSnapshotCommand.java
----------------------------------------------------------------------
diff --git 
a/blur-shell/src/main/java/org/apache/blur/shell/RemoveSnapshotCommand.java 
b/blur-shell/src/main/java/org/apache/blur/shell/RemoveSnapshotCommand.java
index a56e6c7..a191f89 100644
--- a/blur-shell/src/main/java/org/apache/blur/shell/RemoveSnapshotCommand.java
+++ b/blur-shell/src/main/java/org/apache/blur/shell/RemoveSnapshotCommand.java
@@ -6,7 +6,7 @@ import org.apache.blur.thirdparty.thrift_0_9_0.TException;
 import org.apache.blur.thrift.generated.BlurException;
 import org.apache.blur.thrift.generated.Blur.Iface;
 
-public class RemoveSnapshotCommand extends Command {
+public class RemoveSnapshotCommand extends Command implements 
TableFirstArgCommand {
   @Override
   public void doit(PrintWriter out, Iface client, String[] args)
       throws CommandException, TException, BlurException {

Reply via email to