mirror of https://github.com/apache/lucene.git
fix unchecked warning
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@889614 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6ebcc95ea0
commit
eacade7710
|
@ -21,6 +21,6 @@ package org.apache.lucene.util.cache;
|
||||||
public class TestSimpleLRUCache extends BaseTestLRU {
|
public class TestSimpleLRUCache extends BaseTestLRU {
|
||||||
public void testLRUCache() throws Exception {
|
public void testLRUCache() throws Exception {
|
||||||
final int n = 100;
|
final int n = 100;
|
||||||
testCache(new SimpleLRUCache(n), n);
|
testCache(new SimpleLRUCache<Integer,Object>(n), n);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue