Repository: cassandra Updated Branches: refs/heads/trunk 284480f04 -> 0494cf75c
format doubles with %f Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/2c28fded Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/2c28fded Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/2c28fded Branch: refs/heads/trunk Commit: 2c28fded11d70f5880db4077b0d9702df0c7fcf3 Parents: cbc36e0 Author: Dave Brosius <dbros...@mebigfatguy.com> Authored: Sun Sep 14 20:47:45 2014 -0400 Committer: Dave Brosius <dbros...@mebigfatguy.com> Committed: Sun Sep 14 20:47:45 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/2c28fded/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 7a8e04d..08a8055 100644 --- a/src/java/org/apache/cassandra/tools/NodeTool.java +++ b/src/java/org/apache/cassandra/tools/NodeTool.java @@ -2372,7 +2372,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.0d%20.0d%20.0d%20.0d%20.0d%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%n", stats[0], stats[1], stats[2], stdev, stats[4], stats[5]); } }