Repository: cassandra
Updated Branches:
  refs/heads/trunk 3f25375a3 -> 770e68dae


use %n for newline in format


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

Branch: refs/heads/trunk
Commit: 18d3b52d478c31a9091bb328f8cf5adaa7879a66
Parents: cc77ac8
Author: Dave Brosius <dbros...@mebigfatguy.com>
Authored: Thu May 1 20:24:53 2014 -0400
Committer: Dave Brosius <dbros...@mebigfatguy.com>
Committed: Thu May 1 20:24:53 2014 -0400

----------------------------------------------------------------------
 src/java/org/apache/cassandra/tools/BulkLoader.java | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/18d3b52d/src/java/org/apache/cassandra/tools/BulkLoader.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/tools/BulkLoader.java 
b/src/java/org/apache/cassandra/tools/BulkLoader.java
index 6042f92..74b803a 100644
--- a/src/java/org/apache/cassandra/tools/BulkLoader.java
+++ b/src/java/org/apache/cassandra/tools/BulkLoader.java
@@ -234,12 +234,12 @@ public class BulkLoader
             int average = mbPerSec(lastProgress, (end - start));
             StringBuilder sb = new StringBuilder();
             sb.append("\nSummary statistics: \n");
-            sb.append(String.format("   %-30s: %-10d\n", "Connections per 
host: ", connectionsPerHost));
-            sb.append(String.format("   %-30s: %-10d\n", "Total files 
transferred: ", totalFiles));
-            sb.append(String.format("   %-30s: %-10d\n", "Total bytes 
transferred: ", lastProgress));
-            sb.append(String.format("   %-30s: %-10d\n", "Total duration (ms): 
", durationMS));
-            sb.append(String.format("   %-30s: %-10d\n", "Average transfer 
rate (MB/s): ", + average));
-            sb.append(String.format("   %-30s: %-10d\n", "Peak transfer rate 
(MB/s): ", + peak));
+            sb.append(String.format("   %-30s: %-10d%n", "Connections per 
host: ", connectionsPerHost));
+            sb.append(String.format("   %-30s: %-10d%n", "Total files 
transferred: ", totalFiles));
+            sb.append(String.format("   %-30s: %-10d%n", "Total bytes 
transferred: ", lastProgress));
+            sb.append(String.format("   %-30s: %-10d%n", "Total duration (ms): 
", durationMS));
+            sb.append(String.format("   %-30s: %-10d%n", "Average transfer 
rate (MB/s): ", + average));
+            sb.append(String.format("   %-30s: %-10d%n", "Peak transfer rate 
(MB/s): ", + peak));
             System.err.println(sb.toString());
         }
     }

Reply via email to