cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject git commit: fix format string to match the number of input values
Date Mon, 15 Sep 2014 00:43:19 GMT
Repository: cassandra
Updated Branches:
  refs/heads/cassandra-2.1 a6678a273 -> cbc36e019


fix format string to match the number of input values


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

Branch: refs/heads/cassandra-2.1
Commit: cbc36e019b589ea7a08433853160a582fc579c93
Parents: a6678a2
Author: Dave Brosius <dbrosius@mebigfatguy.com>
Authored: Sun Sep 14 20:43:07 2014 -0400
Committer: Dave Brosius <dbrosius@mebigfatguy.com>
Committed: Sun Sep 14 20:43:07 2014 -0400

----------------------------------------------------------------------
 src/java/org/apache/cassandra/tools/NodeTool.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/cbc36e01/src/java/org/apache/cassandra/tools/NodeTool.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/tools/NodeTool.java b/src/java/org/apache/cassandra/tools/NodeTool.java
index 731afcc..7a8e04d 100644
--- a/src/java/org/apache/cassandra/tools/NodeTool.java
+++ b/src/java/org/apache/cassandra/tools/NodeTool.java
@@ -2371,7 +2371,7 @@ public class NodeTool
             double[] stats = probe.getAndResetGCStats();
             double mean = stats[2] / stats[5];
             double stdev = Math.sqrt((stats[3] / stats[5]) - (mean * mean));
-            System.out.printf("%20s%20s%20s%20s%20s%n", "Interval (ms)", "Max GC Elapsed
(ms)", "Total GC Elapsed (ms)", "Stdev GC Elapsed (ms)", "GC Reclaimed (MB)", "Collections");
+            System.out.printf("%20s%20s%20s%20s%20s%20s%n", "Interval (ms)", "Max GC Elapsed
(ms)", "Total GC Elapsed (ms)", "Stdev GC Elapsed (ms)", "GC Reclaimed (MB)", "Collections");
             System.out.printf("%20.0d%20.0d%20.0d%20.0d%20.0d%n", stats[0], stats[1], stats[2],
stdev, stats[4], stats[5]);
         }
     }


Mime
View raw message