jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1380565 - /jmeter/trunk/src/core/org/apache/jmeter/engine/util/UndoVariableReplacement.java
Date Tue, 04 Sep 2012 11:27:10 GMT
Author: pmouawad
Date: Tue Sep  4 11:27:09 2012
New Revision: 1380565

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

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

Modified: jmeter/trunk/src/core/org/apache/jmeter/engine/util/UndoVariableReplacement.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/engine/util/UndoVariableReplacement.java?rev=1380565&r1=1380564&r2=1380565&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/engine/util/UndoVariableReplacement.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/engine/util/UndoVariableReplacement.java Tue Sep
 4 11:27:09 2012
@@ -42,7 +42,6 @@ public class UndoVariableReplacement ext
             String value = entry.getValue();
             input = StringUtilities.substitute(input, "${" + key + "}", value);
         }
-        StringProperty newProp = new StringProperty(prop.getName(), input);
-        return newProp;
+        return new StringProperty(prop.getName(), input);
     }
 }



Mime
View raw message