accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject [5/9] accumulo git commit: ACCUMULO-3965 Checkstyle
Date Mon, 24 Aug 2015 18:36:07 GMT
ACCUMULO-3965 Checkstyle


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

Branch: refs/heads/1.7
Commit: c3da293a51d8526af2d9b0d7b347ac3ed5b54a54
Parents: e0cc9a8
Author: Josh Elser <elserj@apache.org>
Authored: Mon Aug 24 14:18:28 2015 -0400
Committer: Josh Elser <elserj@apache.org>
Committed: Mon Aug 24 14:18:28 2015 -0400

----------------------------------------------------------------------
 .../core/util/shell/commands/ActiveScanIterator.java        | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/c3da293a/core/src/main/java/org/apache/accumulo/core/util/shell/commands/ActiveScanIterator.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/accumulo/core/util/shell/commands/ActiveScanIterator.java
b/core/src/main/java/org/apache/accumulo/core/util/shell/commands/ActiveScanIterator.java
index b027739..6065900 100644
--- a/core/src/main/java/org/apache/accumulo/core/util/shell/commands/ActiveScanIterator.java
+++ b/core/src/main/java/org/apache/accumulo/core/util/shell/commands/ActiveScanIterator.java
@@ -42,11 +42,10 @@ class ActiveScanIterator implements Iterator<String> {
         final List<ActiveScan> asl = instanceOps.getActiveScans(tserver);
 
         for (ActiveScan as : asl) {
-          scans
-              .add(String.format("%21s |%21s |%9s |%9s |%7s |%6s |%8s |%8s |%10s |%20s |%10s
|%20s |%10s | %s", tserver, as.getClient(),
-                  Duration.format(as.getAge(), "", "-"), Duration.format(as.getLastContactTime(),
"", "-"), as.getState(), as.getType(), as.getUser(),
-                  as.getTable(), as.getColumns(), as.getAuthorizations(), (as.getType() ==
ScanType.SINGLE ? as.getExtent() : "N/A"), as.getScanid(),
-                  as.getSsiList(), as.getSsio()));
+          scans.add(String.format("%21s |%21s |%9s |%9s |%7s |%6s |%8s |%8s |%10s |%20s |%10s
|%20s |%10s | %s", tserver, as.getClient(),
+              Duration.format(as.getAge(), "", "-"), Duration.format(as.getLastContactTime(),
"", "-"), as.getState(), as.getType(), as.getUser(),
+              as.getTable(), as.getColumns(), as.getAuthorizations(), (as.getType() == ScanType.SINGLE
? as.getExtent() : "N/A"), as.getScanid(),
+              as.getSsiList(), as.getSsio()));
         }
       } catch (Exception e) {
         scans.add(tserver + " ERROR " + e.getMessage());


Mime
View raw message