You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by se...@apache.org on 2012/08/31 01:00:11 UTC

svn commit: r1379209 - /jmeter/trunk/src/core/org/apache/jmeter/engine/util/ReplaceFunctionsWithStrings.java

Author: sebb
Date: Thu Aug 30 23:00:10 2012
New Revision: 1379209

URL: http://svn.apache.org/viewvc?rev=1379209&view=rev
Log:
Write-once field might as well be final

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=1379209&r1=1379208&r2=1379209&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 Thu Aug 30 23:00:10 2012
@@ -52,7 +52,7 @@ public class ReplaceFunctionsWithStrings
 
     private static final String FUNCTION_REF_SUFFIX = "}"; //$NON-NLS-1$
 
-    private boolean regexMatch;// Should we match using regexes?
+    private final boolean regexMatch;// Should we match using regexes?
 
     public ReplaceFunctionsWithStrings(CompoundVariable masterFunction, Map<String, String> variables) {
         this(masterFunction, variables, false);