jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1721402 - /jmeter/trunk/src/core/org/apache/jmeter/report/processor/ExternalSampleSorter.java
Date Tue, 22 Dec 2015 13:47:12 GMT
Author: fschumacher
Date: Tue Dec 22 13:47:11 2015
New Revision: 1721402

URL: http://svn.apache.org/viewvc?rev=1721402&view=rev
Log:
No need to explicitly compare to true for booleans.

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

Modified: jmeter/trunk/src/core/org/apache/jmeter/report/processor/ExternalSampleSorter.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/report/processor/ExternalSampleSorter.java?rev=1721402&r1=1721401&r2=1721402&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/report/processor/ExternalSampleSorter.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/report/processor/ExternalSampleSorter.java Tue
Dec 22 13:47:11 2015
@@ -416,7 +416,7 @@ public class ExternalSampleSorter extend
                 Sample firstRight = r.next();
                 if (!revertedSort
                         && sampleComparator.compare(firstLeft, firstRight) < 0
-                        || revertedSort == true
+                        || revertedSort
                         && sampleComparator.compare(firstLeft, firstRight) >=
0) {
                     out.add(firstLeft);
                     r.previous();



Mime
View raw message