jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1358853 - /jmeter/trunk/src/core/org/apache/jmeter/util/JSR223TestElement.java
Date Sun, 08 Jul 2012 22:18:12 GMT
Author: sebb
Date: Sun Jul  8 22:18:11 2012
New Revision: 1358853

URL: http://svn.apache.org/viewvc?rev=1358853&view=rev
Log:
Field is only created once, so make it final

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

Modified: jmeter/trunk/src/core/org/apache/jmeter/util/JSR223TestElement.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/util/JSR223TestElement.java?rev=1358853&r1=1358852&r2=1358853&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/util/JSR223TestElement.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/util/JSR223TestElement.java Sun Jul  8 22:18:11
2012
@@ -77,7 +77,7 @@ public abstract class JSR223TestElement 
     /**
      * Cache of compiled scripts
      */
-    private static Map<String, CompiledScript> compiledScriptsCache = 
+    private static final Map<String, CompiledScript> compiledScriptsCache = 
             Collections.synchronizedMap(
                     new LRUMap(JMeterUtils.getPropDefault("jsr223.compiled_scripts_cache_size",
100)));
     //-- For TestBean implementations only



Mime
View raw message