mirror of https://github.com/apache/lucene.git
don't use Java 5 code
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@780896 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bdc99eb8ea
commit
92cf862990
|
@ -67,7 +67,7 @@ public class TestTopScoreDocCollector extends LuceneTestCase {
|
|||
IndexSearcher searcher = new IndexSearcher(dir);
|
||||
for (int i = 0; i < inOrder.length; i++) {
|
||||
TopDocsCollector tdc = TopScoreDocCollector.create(3, inOrder[i]);
|
||||
assertEquals(actualTSDCClass[i], tdc.getClass().getSimpleName());
|
||||
assertEquals("org.apache.lucene.search.TopScoreDocCollector$" + actualTSDCClass[i], tdc.getClass().getName());
|
||||
|
||||
searcher.search(new MatchAllDocsQuery(), tdc);
|
||||
|
||||
|
|
Loading…
Reference in New Issue