jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1380052 - in /jmeter/trunk: src/core/org/apache/jmeter/threads/JMeterThread.java src/core/org/apache/jmeter/threads/TestCompiler.java test/src/org/apache/jmeter/threads/TestTestCompiler.java
Date Sun, 02 Sep 2012 20:41:51 GMT
Author: pmouawad
Date: Sun Sep  2 20:41:50 2012
New Revision: 1380052

URL: http://svn.apache.org/viewvc?rev=1380052&view=rev
Log:
Remove unused parameters vars

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java
    jmeter/trunk/src/core/org/apache/jmeter/threads/TestCompiler.java
    jmeter/trunk/test/src/org/apache/jmeter/threads/TestTestCompiler.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java?rev=1380052&r1=1380051&r2=1380052&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java Sun Sep  2 20:41:50
2012
@@ -137,7 +137,7 @@ public class JMeterThread implements Run
         this.monitor = monitor;
         threadVars = new JMeterVariables();
         testTree = test;
-        compiler = new TestCompiler(testTree, threadVars);
+        compiler = new TestCompiler(testTree);
         controller = (Controller) testTree.getArray()[0];
         SearchByClass<TestIterationListener> threadListenerSearcher = new SearchByClass<TestIterationListener>(TestIterationListener.class);
// TL - IS
         test.traverse(threadListenerSearcher);

Modified: jmeter/trunk/src/core/org/apache/jmeter/threads/TestCompiler.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/threads/TestCompiler.java?rev=1380052&r1=1380051&r2=1380052&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/threads/TestCompiler.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/threads/TestCompiler.java Sun Sep  2 20:41:50
2012
@@ -87,7 +87,7 @@ public class TestCompiler implements Has
 
     private final HashTree testTree;
 
-    public TestCompiler(HashTree testTree, JMeterVariables vars) {
+    public TestCompiler(HashTree testTree) {
         this.testTree = testTree;
     }
 

Modified: jmeter/trunk/test/src/org/apache/jmeter/threads/TestTestCompiler.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/test/src/org/apache/jmeter/threads/TestTestCompiler.java?rev=1380052&r1=1380051&r2=1380052&view=diff
==============================================================================
--- jmeter/trunk/test/src/org/apache/jmeter/threads/TestTestCompiler.java (original)
+++ jmeter/trunk/test/src/org/apache/jmeter/threads/TestTestCompiler.java Sun Sep  2 20:41:50
2012
@@ -41,7 +41,7 @@ public class TestTestCompiler extends ju
             testing.add(controller, sampler);
             TestCompiler.initialize();
 
-            TestCompiler compiler = new TestCompiler(testing, new JMeterVariables());
+            TestCompiler compiler = new TestCompiler(testing);
             testing.traverse(compiler);
             sampler = (TestSampler) compiler.configureSampler(sampler).getSampler();
             assertEquals("A test value", sampler.getPropertyAsString("test.property"));



Mime
View raw message