Author: sebb
Date: Mon Mar 26 12:00:46 2012
New Revision: 1305320
URL: http://svn.apache.org/viewvc?rev=1305320&view=rev
Log:
Generics warning
Modified:
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/DOMPool.java
Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/DOMPool.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/DOMPool.java?rev=1305320&r1=1305319&r2=1305320&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/DOMPool.java (original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/DOMPool.java Mon Mar
26 12:00:46 2012
@@ -47,6 +47,7 @@ public final class DOMPool {
* test on an old system will likely run into memory or CPU problems long
* before the HashMap is an issue.
*/
+ @SuppressWarnings("unchecked") // LRUMap does not support generics currently
private static final Map<Object, Document> MEMCACHE = Collections.<Object, Document>synchronizedMap(
new LRUMap(JMeterUtils.getPropDefault("soap.document_cache", 50)));
|