jmeter-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=1719957&view=rev
Log:
Fix boxing issues

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

Modified: jmeter/trunk/src/core/org/apache/jmeter/report/processor/AbstractSummaryConsumer.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/report/processor/AbstractSummaryConsumer.java?rev=1719957&r1=1719956&r2=1719957&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/report/processor/AbstractSummaryConsumer.java
(original)
+++ jmeter/trunk/src/core/org/apache/jmeter/report/processor/AbstractSummaryConsumer.java
Mon Dec 14 17:06:24 2015
@@ -195,7 +195,7 @@ public abstract class AbstractSummaryCon
         if (data != null) {
             result = new MapResultData();
             result.setResult(RESULT_VALUE_IS_CONTROLLER, new ValueResultData(
-                    info.isController()));
+                    Boolean.valueOf(info.isController())));
             result.setResult(RESULT_VALUE_DATA, createDataResult(key, data));
         }
         return result;
@@ -250,7 +250,7 @@ public abstract class AbstractSummaryCon
 
         // Push the support flag in the result
         result.setResult(RESULT_VALUE_SUPPORTS_CONTROLLERS_DISCRIMINATION,
-                new ValueResultData(supportsControllersDiscrimination));
+                new ValueResultData(Boolean.valueOf(supportsControllersDiscrimination)));
 
         // Add headers
         result.setResult(RESULT_VALUE_TITLES, createResultTitles());

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=1719957&r1=1719956&r2=1719957&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:06:24 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
@@ -406,7 +406,7 @@ public abstract class AbstractGraphConsu
                     .allowsControllersDiscrimination();
         }
         result.setResult(RESULT_SUPPORTS_CONTROLLERS_DISCRIMINATION,
-                new ValueResultData(supportsControllersDiscrimination));
+                new ValueResultData(Boolean.valueOf(supportsControllersDiscrimination)));
 
         initializeExtraResults(result);
         return result;
@@ -473,8 +473,7 @@ public abstract class AbstractGraphConsu
                 }
 
                 // Get the value to aggregate and dispatch it to the groupData
-                double value = groupInfo.getValueSelector().select(seriesName,
-                        sample);
+                Double value = Double.valueOf(groupInfo.getValueSelector().select(seriesName,
sample));
 
                 aggregateValue(factory, seriesData, key, value);
                 if (overallSeries) {



Mime
View raw message