changeset 984:c97ad3d4b507

runners: minor formatting quirk, "10days" should be "10 days".
author shade
date Thu, 28 Aug 2014 16:50:03 +0400
parents 7dd59a0f6d71
children 31c75cfd7b06
files jmh-core/src/main/java/org/openjdk/jmh/runner/BaseRunner.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jmh-core/src/main/java/org/openjdk/jmh/runner/BaseRunner.java	Wed Aug 27 18:36:45 2014 +0400
+++ b/jmh-core/src/main/java/org/openjdk/jmh/runner/BaseRunner.java	Thu Aug 28 16:50:03 2014 +0400
@@ -187,7 +187,7 @@
 
         long secs = TimeUnit.NANOSECONDS.toSeconds(nanos);
 
-        return String.format("%s%02d:%02d:%02d", (days > 0) ? days + "days, " : "", hrs, mins, secs);
+        return String.format("%s%02d:%02d:%02d", (days > 0) ? days + " days, " : "", hrs, mins, secs);
     }
 
     BenchmarkResult runBenchmark(BenchmarkParams benchParams) {