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 count of values
Date Tue, 16 Sep 2014 03:49:54 GMT
Repository: cassandra
Updated Branches:
  refs/heads/cassandra-2.1 3909567da -> 1ba959391


fix format string to match count of values


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

Branch: refs/heads/cassandra-2.1
Commit: 1ba959391c77e41a1a60c2afca38b77576907ddf
Parents: 3909567
Author: Dave Brosius <dbrosius@mebigfatguy.com>
Authored: Mon Sep 15 23:49:36 2014 -0400
Committer: Dave Brosius <dbrosius@mebigfatguy.com>
Committed: Mon Sep 15 23:49:36 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/1ba95939/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 fbdce0f..91f9bf0 100644
--- a/src/java/org/apache/cassandra/tools/NodeTool.java
+++ b/src/java/org/apache/cassandra/tools/NodeTool.java
@@ -2373,7 +2373,7 @@ public class NodeTool
             double mean = stats[2] / stats[5];
             double stdev = Math.sqrt((stats[3] / stats[5]) - (mean * mean));
             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.0f%20.0f%20.0f%20.0f%20.0f%n", stats[0], stats[1], stats[2],
stdev, stats[4], stats[5]);
+            System.out.printf("%20.0f%20.0f%20.0f%20.0f%20.0f%20.0f%n", stats[0], stats[1],
stats[2], stdev, stats[4], stats[5]);
         }
     }
 


Mime
View raw message