jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1719959 - /jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/AbstractGraphConsumer.java
Date Mon, 14 Dec 2015 17:10:27 GMT
Author: sebb
Date: Mon Dec 14 17:10:27 2015
New Revision: 1719959

URL: http://svn.apache.org/viewvc?rev=1719959&view=rev
Log:
Better box fix

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/AbstractGraphConsumer.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/AbstractGraphConsumer.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/AbstractGraphConsumer.java?rev=1719959&r1=1719958&r2=1719959&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/AbstractGraphConsumer.java
(original)
+++ jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/AbstractGraphConsumer.java
Mon Dec 14 17:10:27 2015
@@ -362,7 +362,7 @@ public abstract class AbstractGraphConsu
      *            the value
      */
     private void aggregateValue(AggregatorFactory factory, SeriesData data,
-            Double key, Double value) {
+            Double key, double value) {
         Map<Double, Aggregator> aggInfo = data.getAggregatorInfo();
 
         // Get or create aggregator
@@ -381,7 +381,7 @@ public abstract class AbstractGraphConsu
         // Aggregate keys if needed (if aggregated keys series is set)
         Aggregator keysAgg = data.getKeysAggregator();
         if (keysAgg != null) {
-            keysAgg.addValue(key);
+            keysAgg.addValue(key.doubleValue());
         }
 
         // Aggregate values if needed (if aggregated keys series is set)
@@ -473,7 +473,7 @@ public abstract class AbstractGraphConsu
                 }
 
                 // Get the value to aggregate and dispatch it to the groupData
-                Double value = Double.valueOf(groupInfo.getValueSelector().select(seriesName,
sample));
+                double value = groupInfo.getValueSelector().select(seriesName, sample);
 
                 aggregateValue(factory, seriesData, key, value);
                 if (overallSeries) {



Mime
View raw message