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 TestSimilarity.java TestNot.java
Date Sun, 08 Aug 2004 19:36:59 GMT
dnaber      2004/08/08 12:36:59

  Modified:    src/test/org/apache/lucene/search TestSimilarity.java
                        TestNot.java
  Log:
  remove unused variables
  
  Revision  Changes    Path
  1.5       +1 -3      jakarta-lucene/src/test/org/apache/lucene/search/TestSimilarity.java
  
  Index: TestSimilarity.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/test/org/apache/lucene/search/TestSimilarity.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- TestSimilarity.java	29 Mar 2004 22:48:06 -0000	1.4
  +++ TestSimilarity.java	8 Aug 2004 19:36:59 -0000	1.5
  @@ -64,8 +64,6 @@
       writer.optimize();
       writer.close();
   
  -    final float[] scores = new float[4];
  -
       Searcher searcher = new IndexSearcher(store);
       searcher.setSimilarity(new SimpleSimilarity());
   
  
  
  
  1.4       +1 -4      jakarta-lucene/src/test/org/apache/lucene/search/TestNot.java
  
  Index: TestNot.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/test/org/apache/lucene/search/TestNot.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- TestNot.java	29 Mar 2004 22:48:06 -0000	1.3
  +++ TestNot.java	8 Aug 2004 19:36:59 -0000	1.4
  @@ -18,9 +18,6 @@
   
   import junit.framework.TestCase;
   
  -import java.util.Vector;
  -
  -import org.apache.lucene.index.Term;
   import org.apache.lucene.index.IndexWriter;
   import org.apache.lucene.queryParser.QueryParser;
   import org.apache.lucene.store.RAMDirectory;
  
  
  

---------------------------------------------------------------------
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