jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1719679 - /jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/AbstractGraphConsumer.java
Date Sat, 12 Dec 2015 12:44:10 GMT
Author: fschumacher
Date: Sat Dec 12 12:44:10 2015
New Revision: 1719679

URL: http://svn.apache.org/viewvc?rev=1719679&view=rev
Log:
Don't use ' == true' on booleans in if statements.

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=1719679&r1=1719678&r2=1719679&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
Sat Dec 12 12:44:10 2015
@@ -477,7 +477,7 @@ public abstract class AbstractGraphConsu
                         sample);
 
                 aggregateValue(factory, seriesData, key, value);
-                if (overallSeries == true) {
+                if (overallSeries) {
                     SeriesData overallData = groupData.getOverallSeries();
                     aggregateValue(factory, overallData, key, value);
                 }
@@ -520,19 +520,19 @@ public abstract class AbstractGraphConsu
                 String seriesName = seriesEntry.getKey();
                 SeriesData seriesData = seriesEntry.getValue();
                 addKeyData(result, groupName, seriesName, seriesData, false);
-                if (aggregatedKeysSeries == true) {
+                if (aggregatedKeysSeries) {
                     addKeyData(result, groupName, seriesName, seriesData, true);
                 }
             }
 
             // Add overall values if needed
-            if (overallSeries == true) {
+            if (overallSeries) {
                 SeriesData overallData = groupData.getOverallSeries();
                 String overallSeriesName = String.format(overallSeriesFormat,
                         groupName);
                 addKeyData(result, groupName, overallSeriesName, overallData,
                         false);
-                if (aggregatedKeysSeries == true) {
+                if (aggregatedKeysSeries) {
                     addKeyData(result, groupName, overallSeriesName,
                             overallData, true);
                 }



Mime
View raw message