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/07/09 00:18:12 UTC
svn commit: r1358853 -
/jmeter/trunk/src/core/org/apache/jmeter/util/JSR223TestElement.java
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