lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uschind...@apache.org
Subject svn commit: r889614 - /lucene/java/trunk/src/test/org/apache/lucene/util/cache/TestSimpleLRUCache.java
Date Fri, 11 Dec 2009 13:33:50 GMT
Author: uschindler
Date: Fri Dec 11 13:33:49 2009
New Revision: 889614

URL: http://svn.apache.org/viewvc?rev=889614&view=rev
Log:
fix unchecked warning

Modified:
    lucene/java/trunk/src/test/org/apache/lucene/util/cache/TestSimpleLRUCache.java

Modified: lucene/java/trunk/src/test/org/apache/lucene/util/cache/TestSimpleLRUCache.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/test/org/apache/lucene/util/cache/TestSimpleLRUCache.java?rev=889614&r1=889613&r2=889614&view=diff
==============================================================================
--- lucene/java/trunk/src/test/org/apache/lucene/util/cache/TestSimpleLRUCache.java (original)
+++ lucene/java/trunk/src/test/org/apache/lucene/util/cache/TestSimpleLRUCache.java Fri Dec
11 13:33:49 2009
@@ -21,6 +21,6 @@
 public class TestSimpleLRUCache extends BaseTestLRU {
   public void testLRUCache() throws Exception {
     final int n = 100;
-    testCache(new SimpleLRUCache(n), n);
+    testCache(new SimpleLRUCache<Integer,Object>(n), n);
   }
 }



Mime
View raw message