changeset 140:18ce82926141

Point-wise rename in RunResult.
author shade
date Fri, 23 Aug 2013 13:53:18 +0400
parents b3932d6c6377
children 9e8f44e958d3
files jmh-core/src/main/java/org/openjdk/jmh/logic/results/internal/RunResult.java jmh-core/src/main/java/org/openjdk/jmh/output/format/PrettyPrintFormat.java
diffstat 2 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/jmh-core/src/main/java/org/openjdk/jmh/logic/results/internal/RunResult.java	Fri Aug 23 13:06:43 2013 +0400
+++ b/jmh-core/src/main/java/org/openjdk/jmh/logic/results/internal/RunResult.java	Fri Aug 23 13:53:18 2013 +0400
@@ -92,7 +92,7 @@
         return r;
     }
 
-    public Map<String, Result> getResult() {
+    public Map<String, Result> getResults() {
         return result;
     }
 
--- a/jmh-core/src/main/java/org/openjdk/jmh/output/format/PrettyPrintFormat.java	Fri Aug 23 13:06:43 2013 +0400
+++ b/jmh-core/src/main/java/org/openjdk/jmh/output/format/PrettyPrintFormat.java	Fri Aug 23 13:53:18 2013 +0400
@@ -32,7 +32,6 @@
 import org.openjdk.jmh.runner.parameters.MicroBenchmarkParameters;
 import org.openjdk.jmh.runner.parameters.TimeValue;
 import org.openjdk.jmh.util.internal.Multimap;
-import org.openjdk.jmh.util.internal.Statistics;
 import org.openjdk.jmh.util.internal.TreeMultimap;
 
 import java.io.PrintStream;
@@ -105,7 +104,7 @@
         benchmarkResults.put(name, result);
 
         out.println();
-        for (Result r : result.getResult().values()) {
+        for (Result r : result.getResults().values()) {
             out.println(r.extendedInfo());
         }
         out.println();
@@ -125,11 +124,11 @@
 
                 List<Result> iResults = new ArrayList<Result>();
                 for (RunResult res : forkedResults) {
-                    iResults.addAll(res.getResult().values());
+                    iResults.addAll(res.getResults().values());
                 }
                 RunResult runResult = new RunResult(iResults);
 
-                for (Result r : runResult.getResult().values()) {
+                for (Result r : runResult.getResults().values()) {
                     out.println(r.extendedInfo());
                 }
             }