You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by dn...@apache.org on 2004/10/10 17:44:09 UTC
cvs commit: jakarta-lucene/src/test/org/apache/lucene/search CheckHits.java
dnaber 2004/10/10 08:44:09
Modified: src/test/org/apache/lucene/search CheckHits.java
Log:
call static methods via class, not via object (better style, no functional change)
Revision Changes Path
1.2 +1 -1 jakarta-lucene/src/test/org/apache/lucene/search/CheckHits.java
Index: CheckHits.java
===================================================================
RCS file: /home/cvs/jakarta-lucene/src/test/org/apache/lucene/search/CheckHits.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- CheckHits.java 25 May 2004 17:34:58 -0000 1.1
+++ CheckHits.java 10 Oct 2004 15:44:09 -0000 1.2
@@ -49,7 +49,7 @@
actual.add(new Integer(hits.id(i)));
}
- testCase.assertEquals(query.toString(defaultFieldName), correct, actual);
+ TestCase.assertEquals(query.toString(defaultFieldName), correct, actual);
}
public static void printDocNrs(Hits hits) throws IOException {
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org