You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@lucene.apache.org by yo...@apache.org on 2006/06/22 19:48:25 UTC

svn commit: r416431 - in /lucene/java/trunk: CHANGES.txt src/test/org/apache/lucene/search/TestConstantScoreRangeQuery.java

Author: yonik
Date: Thu Jun 22 10:48:25 2006
New Revision: 416431

URL: http://svn.apache.org/viewvc?rev=416431&view=rev
Log:
syntax change for ecj compilation: LUCENE-611

Modified:
    lucene/java/trunk/CHANGES.txt
    lucene/java/trunk/src/test/org/apache/lucene/search/TestConstantScoreRangeQuery.java

Modified: lucene/java/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/java/trunk/CHANGES.txt?rev=416431&r1=416430&r2=416431&view=diff
==============================================================================
--- lucene/java/trunk/CHANGES.txt (original)
+++ lucene/java/trunk/CHANGES.txt Thu Jun 22 10:48:25 2006
@@ -52,9 +52,9 @@
  8. LUCENE-607: ParallelReader's TermEnum fails to advance properly to
     new fields (Chuck Williams, Christian Kohlschuetter via Yonik Seeley)
 
- 9. LUCENE-610: Simple syntax change to allow compilation with ecj : 
-    disambiguate inner class scorer's use of doc() in BooleanScorer2.
-    (DM Smith via Yonik Seeley)
+ 9. LUCENE-610,LUCENE-611: Simple syntax changes to allow compilation with ecj: 
+    disambiguate inner class scorer's use of doc() in BooleanScorer2,
+    other test code changes.  (DM Smith via Yonik Seeley)
 
 Optimizations
 

Modified: lucene/java/trunk/src/test/org/apache/lucene/search/TestConstantScoreRangeQuery.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/test/org/apache/lucene/search/TestConstantScoreRangeQuery.java?rev=416431&r1=416430&r2=416431&view=diff
==============================================================================
--- lucene/java/trunk/src/test/org/apache/lucene/search/TestConstantScoreRangeQuery.java (original)
+++ lucene/java/trunk/src/test/org/apache/lucene/search/TestConstantScoreRangeQuery.java Thu Jun 22 10:48:25 2006
@@ -27,6 +27,8 @@
 
 import java.io.IOException;
 
+import junit.framework.Assert;
+
 public class TestConstantScoreRangeQuery extends BaseTestRangeFilter {
     
     /** threshold for comparing floats */
@@ -44,7 +46,11 @@
     void assertEquals(String m, float e, float a) {
         assertEquals(m, e, a, SCORE_COMP_THRESH);
     }
-    
+
+    static public void assertEquals(String m, int e, int a) {
+        Assert.assertEquals(m, e, a);
+    }
+
     public void setUp() throws Exception {
         super.setUp();