lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r780896 - /lucene/java/trunk/src/test/org/apache/lucene/search/TestTopScoreDocCollector.java
Date Tue, 02 Jun 2009 00:54:02 GMT
Author: mikemccand
Date: Tue Jun  2 00:54:01 2009
New Revision: 780896

URL: http://svn.apache.org/viewvc?rev=780896&view=rev
Log:
don't use Java 5 code

Modified:
    lucene/java/trunk/src/test/org/apache/lucene/search/TestTopScoreDocCollector.java

Modified: lucene/java/trunk/src/test/org/apache/lucene/search/TestTopScoreDocCollector.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/test/org/apache/lucene/search/TestTopScoreDocCollector.java?rev=780896&r1=780895&r2=780896&view=diff
==============================================================================
--- lucene/java/trunk/src/test/org/apache/lucene/search/TestTopScoreDocCollector.java (original)
+++ lucene/java/trunk/src/test/org/apache/lucene/search/TestTopScoreDocCollector.java Tue
Jun  2 00:54:01 2009
@@ -67,7 +67,7 @@
       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);
         



Mime
View raw message