jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1773581 - /jmeter/trunk/src/core/org/apache/jmeter/engine/StandardJMeterEngine.java
Date Sun, 11 Dec 2016 15:39:16 GMT
Author: fschumacher
Date: Sun Dec 11 15:39:16 2016
New Revision: 1773581

URL: http://svn.apache.org/viewvc?rev=1773581&view=rev
Log:
Use short circuit logic in boolean context. No functional change.

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/engine/StandardJMeterEngine.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/engine/StandardJMeterEngine.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/engine/StandardJMeterEngine.java?rev=1773581&r1=1773580&r2=1773581&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/engine/StandardJMeterEngine.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/engine/StandardJMeterEngine.java Sun Dec 11 15:39:16
2016
@@ -418,7 +418,7 @@ public class StandardJMeterEngine implem
             JMeterContextService.clearTotalThreads();
             log.info("Starting tearDown thread groups");
             if (mainGroups && !running) { // i.e. shutdown/stopped during main thread
groups
-                running = shutdown & tearDownOnShutdown; // re-enable for tearDown if
necessary
+                running = shutdown && tearDownOnShutdown; // re-enable for tearDown
if necessary
             }
             while (running && postIter.hasNext()) {//for each setup thread group
                 AbstractThreadGroup group = postIter.next();



Mime
View raw message