jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1362972 - /jmeter/trunk/src/core/org/apache/jmeter/util/JSR223TestElement.java
Date Wed, 18 Jul 2012 14:55:16 GMT
Author: sebb
Date: Wed Jul 18 14:55:15 2012
New Revision: 1362972

URL: http://svn.apache.org/viewvc?rev=1362972&view=rev
Log:
Generics warning

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=1362972&r1=1362971&r2=1362972&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/util/JSR223TestElement.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/util/JSR223TestElement.java Wed Jul 18 14:55:15
2012
@@ -77,6 +77,7 @@ public abstract class JSR223TestElement 
     /**
      * Cache of compiled scripts
      */
+    @SuppressWarnings("unchecked") // LRUMap does not support generics (yet)
     private static final Map<String, CompiledScript> compiledScriptsCache = 
             Collections.synchronizedMap(
                     new LRUMap(JMeterUtils.getPropDefault("jsr223.compiled_scripts_cache_size",
100)));



Mime
View raw message