accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubb...@apache.org
Subject [2/6] accumulo git commit: ACCUMULO-3661 Add missing deprecation message
Date Tue, 17 Mar 2015 19:46:09 GMT
ACCUMULO-3661 Add missing deprecation message


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

Branch: refs/heads/1.6
Commit: 83ee1c17e26f87a4a88fe0f44699e9c3dac11a80
Parents: 4ff11d4
Author: Christopher Tubbs <ctubbsii@apache.org>
Authored: Tue Mar 17 15:39:45 2015 -0400
Committer: Christopher Tubbs <ctubbsii@apache.org>
Committed: Tue Mar 17 15:39:45 2015 -0400

----------------------------------------------------------------------
 .../accumulo/core/util/shell/commands/DeleteScanIterCommand.java    | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/83ee1c17/core/src/main/java/org/apache/accumulo/core/util/shell/commands/DeleteScanIterCommand.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/accumulo/core/util/shell/commands/DeleteScanIterCommand.java
b/core/src/main/java/org/apache/accumulo/core/util/shell/commands/DeleteScanIterCommand.java
index 307bfd6..2bf897b 100644
--- a/core/src/main/java/org/apache/accumulo/core/util/shell/commands/DeleteScanIterCommand.java
+++ b/core/src/main/java/org/apache/accumulo/core/util/shell/commands/DeleteScanIterCommand.java
@@ -32,6 +32,7 @@ public class DeleteScanIterCommand extends Command {
 
   @Override
   public int execute(final String fullCommand, final CommandLine cl, final Shell shellState)
throws Exception {
+    Shell.log.warn("Deprecated, use " + new DeleteShellIterCommand().getName());
     final String tableName = OptUtil.getTableOpt(cl, shellState);
 
     if (cl.hasOption(allOpt.getOpt())) {


Mime
View raw message