jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1776863 - /jmeter/trunk/src/core/org/apache/jmeter/testelement/TestPlan.java
Date Sun, 01 Jan 2017 17:24:33 GMT
Author: pmouawad
Date: Sun Jan  1 17:24:33 2017
New Revision: 1776863

URL: http://svn.apache.org/viewvc?rev=1776863&view=rev
Log:
sonar : fix squid:S2696 Make the enclosing method "static" or remove this set

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/testelement/TestPlan.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/testelement/TestPlan.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/testelement/TestPlan.java?rev=1776863&r1=1776862&r2=1776863&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/testelement/TestPlan.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/testelement/TestPlan.java Sun Jan  1 17:24:33
2017
@@ -128,6 +128,14 @@ public class TestPlan extends AbstractTe
 
     public void setFunctionalMode(boolean funcMode) {
         setProperty(new BooleanProperty(FUNCTIONAL_MODE, funcMode));
+        setGlobalFunctionalMode(funcMode);
+    }
+
+    /**
+     * Set JMeter in functional mode
+     * @param funcMode boolean functional mode
+     */
+    private static void setGlobalFunctionalMode(boolean funcMode) {
         functionalMode = funcMode;
     }
 



Mime
View raw message