You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by db...@apache.org on 2014/09/15 02:48:26 UTC

[1/2] git commit: format doubles with %f

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 <db...@mebigfatguy.com>
Authored: Sun Sep 14 20:47:45 2014 -0400
Committer: Dave Brosius <db...@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]);
         }
     }
 


[2/2] git commit: Merge branch 'cassandra-2.1' into trunk

Posted by db...@apache.org.
Merge branch 'cassandra-2.1' into trunk


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

Branch: refs/heads/trunk
Commit: 0494cf75c3eae0be7d0337674cb65d226575cf50
Parents: 284480f 2c28fde
Author: Dave Brosius <db...@mebigfatguy.com>
Authored: Sun Sep 14 20:48:12 2014 -0400
Committer: Dave Brosius <db...@mebigfatguy.com>
Committed: Sun Sep 14 20:48:12 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/0494cf75/src/java/org/apache/cassandra/tools/NodeTool.java
----------------------------------------------------------------------