From 92cf8629909498145969db26244fdee8c74d8450 Mon Sep 17 00:00:00 2001 From: Michael McCandless Date: Tue, 2 Jun 2009 00:54:01 +0000 Subject: [PATCH] don't use Java 5 code git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@780896 13f79535-47bb-0310-9956-ffa450edef68 --- src/test/org/apache/lucene/search/TestTopScoreDocCollector.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/org/apache/lucene/search/TestTopScoreDocCollector.java b/src/test/org/apache/lucene/search/TestTopScoreDocCollector.java index ff01c52e424..3ab3f37a84d 100644 --- a/src/test/org/apache/lucene/search/TestTopScoreDocCollector.java +++ b/src/test/org/apache/lucene/search/TestTopScoreDocCollector.java @@ -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);