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/index TestTermVectorsWriter.java
Date Wed, 25 Aug 2004 12:02:59 GMT
dnaber      2004/08/25 05:02:59

  Modified:    src/test/org/apache/lucene/index TestTermVectorsWriter.java
  Log:
  fix "@param" comment; remove IOException that was never thrown
  
  Revision  Changes    Path
  1.3       +3 -2      jakarta-lucene/src/test/org/apache/lucene/index/TestTermVectorsWriter.java
  
  Index: TestTermVectorsWriter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/test/org/apache/lucene/index/TestTermVectorsWriter.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TestTermVectorsWriter.java	29 Mar 2004 22:48:06 -0000	1.2
  +++ TestTermVectorsWriter.java	25 Aug 2004 12:02:59 -0000	1.3
  @@ -106,7 +106,8 @@
         assertTrue(false);
       }
     }
  -  private void checkTermVector(TermVectorsReader reader, int docNum, String field) throws
IOException {
  +  
  +  private void checkTermVector(TermVectorsReader reader, int docNum, String field) {
       TermFreqVector vector = reader.get(docNum, field);
       assertTrue(vector != null);
       String[] terms = vector.getTerms();
  @@ -159,7 +160,7 @@
     /**
      * 
      * @param writer The writer to write to
  -   * @param j The field number
  +   * @param f The field name
      * @throws IOException
      */
     private void writeField(TermVectorsWriter writer, String f) 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