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:
Michael McCandless 2009-06-02 00:54:01 +00:00
parent bdc99eb8ea
commit 92cf862990
1 changed files with 1 additions and 1 deletions

View File

@ -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);