changeset 214:9ae9f86bd55a

Fix JSON glitch.
author shade
date Thu, 24 Oct 2013 18:19:19 +0400
parents d31f1f5e996c
children 84b34ad28128
files jmh-core/src/main/java/org/openjdk/jmh/output/results/JSONResultFormat.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jmh-core/src/main/java/org/openjdk/jmh/output/results/JSONResultFormat.java	Thu Oct 24 17:45:12 2013 +0400
+++ b/jmh-core/src/main/java/org/openjdk/jmh/output/results/JSONResultFormat.java	Thu Oct 24 18:19:19 2013 +0400
@@ -69,7 +69,7 @@
                 pw.println("    'scoreUnit' : '" + runResult.getPrimaryResult().getScoreUnit() + "',");
                 pw.println("    'raw' : [");
                 for (Result r : runResult.getRawPrimaryResults()) {
-                    pw.println("      " + r.getScore());
+                    pw.println("      " + r.getScore() + ",");
                 }
                 pw.println("    ]");
                 pw.println("}");