jmeter-commits mailing list archives

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

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

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

Modified: jmeter/trunk/src/core/org/apache/jmeter/engine/util/ReplaceFunctionsWithStrings.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/engine/util/ReplaceFunctionsWithStrings.java?rev=1380566&r1=1380565&r2=1380566&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/engine/util/ReplaceFunctionsWithStrings.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/engine/util/ReplaceFunctionsWithStrings.java Tue
Sep  4 11:27:22 2012
@@ -89,7 +89,6 @@ public class ReplaceFunctionsWithStrings
                 input = StringUtilities.substitute(input, value, FUNCTION_REF_PREFIX + key
+ FUNCTION_REF_SUFFIX);
             }
         }
-        StringProperty newProp = new StringProperty(prop.getName(), input);
-        return newProp;
+        return new StringProperty(prop.getName(), input);
     }
 }



Mime
View raw message