lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dna...@apache.org
Subject cvs commit: jakarta-lucene/src/test/org/apache/lucene/search CheckHits.java
Date Sun, 10 Oct 2004 15:44:09 GMT
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


Mime
View raw message