jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1380844 - /jmeter/trunk/src/functions/org/apache/jmeter/functions/TestPlanName.java
Date Tue, 04 Sep 2012 20:07:11 GMT
Author: pmouawad
Date: Tue Sep  4 20:07:10 2012
New Revision: 1380844

URL: http://svn.apache.org/viewvc?rev=1380844&view=rev
Log:
Remove useless local var

Modified:
    jmeter/trunk/src/functions/org/apache/jmeter/functions/TestPlanName.java

Modified: jmeter/trunk/src/functions/org/apache/jmeter/functions/TestPlanName.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/functions/org/apache/jmeter/functions/TestPlanName.java?rev=1380844&r1=1380843&r2=1380844&view=diff
==============================================================================
--- jmeter/trunk/src/functions/org/apache/jmeter/functions/TestPlanName.java (original)
+++ jmeter/trunk/src/functions/org/apache/jmeter/functions/TestPlanName.java Tue Sep  4 20:07:10
2012
@@ -48,8 +48,7 @@ public class TestPlanName extends Abstra
     @Override
     public synchronized String execute(SampleResult previousResult, Sampler currentSampler)
             throws InvalidVariableException {
-    	String testPlanFile = FileServer.getFileServer().getScriptName();
-        return testPlanFile;
+    	return FileServer.getFileServer().getScriptName();
     }
 
     /** {@inheritDoc} */



Mime
View raw message