accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ktur...@apache.org
Subject svn commit: r1242520 - /incubator/accumulo/branches/1.4/src/core/src/main/java/org/apache/accumulo/core/util/shell/Shell.java
Date Thu, 09 Feb 2012 20:51:40 GMT
Author: kturner
Date: Thu Feb  9 20:51:39 2012
New Revision: 1242520

URL: http://svn.apache.org/viewvc?rev=1242520&view=rev
Log:
ACCUMULO-303 Committing some parts of per table formatter patch I missed.  

Modified:
    incubator/accumulo/branches/1.4/src/core/src/main/java/org/apache/accumulo/core/util/shell/Shell.java

Modified: incubator/accumulo/branches/1.4/src/core/src/main/java/org/apache/accumulo/core/util/shell/Shell.java
URL: http://svn.apache.org/viewvc/incubator/accumulo/branches/1.4/src/core/src/main/java/org/apache/accumulo/core/util/shell/Shell.java?rev=1242520&r1=1242519&r2=1242520&view=diff
==============================================================================
--- incubator/accumulo/branches/1.4/src/core/src/main/java/org/apache/accumulo/core/util/shell/Shell.java
(original)
+++ incubator/accumulo/branches/1.4/src/core/src/main/java/org/apache/accumulo/core/util/shell/Shell.java
Thu Feb  9 20:51:39 2012
@@ -461,14 +461,6 @@ public class Shell {
     else
       sb.append("- Authorization timeout: ").append(String.format("%.2fs\n", authTimeout
/ 1000.0));
     sb.append("- Debug: ").append(isDebuggingEnabled() ? "on" : "off").append("\n");
-    if (!tableFormatters.isEmpty()) {
-      sb.append("- Active Formatters");
-      for (Entry<String,Class<? extends Formatter>> entry : tableFormatters.entrySet())
{
-        if (null != entry.getValue()) {
-          sb.append("-    Table: ").append(entry.getKey()).append(", ").append(entry.getValue().getName()).append("\n");
-        }
-      }
-    }
     if (!scanIteratorOptions.isEmpty()) {
       for (Entry<String,List<IteratorSetting>> entry : scanIteratorOptions.entrySet())
{
         sb.append("- Session scan iterators for table ").append(entry.getKey()).append(":\n");
@@ -1002,10 +994,6 @@ public class Shell {
   public AuthInfo getCredentials() {
     return credentials;
   }
-  
-  public void setFormatterClass(String tableName, Class<? extends Formatter> formatter)
{
-    this.tableFormatters.put(tableName, formatter);
-  }
 
   /**
    * Return the formatter for this table, .



Mime
View raw message