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-sandbox/contributions/analyzers/src/test/org/apache/lucene/analysis/fr TestFrenchAnalyzer.java
Date Wed, 18 Aug 2004 09:54:23 GMT
dnaber      2004/08/18 02:54:23

  Modified:    contributions/analyzers/src/test/org/apache/lucene/analysis/fr
                        TestFrenchAnalyzer.java
  Log:
  remove unused imports and avoid warnings about unused variables
  
  Revision  Changes    Path
  1.4       +2 -3      jakarta-lucene-sandbox/contributions/analyzers/src/test/org/apache/lucene/analysis/fr/TestFrenchAnalyzer.java
  
  Index: TestFrenchAnalyzer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene-sandbox/contributions/analyzers/src/test/org/apache/lucene/analysis/fr/TestFrenchAnalyzer.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- TestFrenchAnalyzer.java	17 Aug 2004 22:03:07 -0000	1.3
  +++ TestFrenchAnalyzer.java	18 Aug 2004 09:54:23 -0000	1.4
  @@ -54,7 +54,6 @@
    * <http://www.apache.org/>.
    */
   
  -import java.io.Reader;
   import java.io.StringReader;
   
   import junit.framework.TestCase;
  @@ -93,7 +92,7 @@
   		// test null reader
   		boolean iaeFlag = false;
   		try {
  -			TokenStream ts = fa.tokenStream("dummy", null);
  +			fa.tokenStream("dummy", null);
   		} catch (IllegalArgumentException iae) {
   			iaeFlag = true;
   		}
  @@ -102,7 +101,7 @@
   		// test null fieldname
   		iaeFlag = false;
   		try {
  -			TokenStream ts = fa.tokenStream(null, new StringReader("dummy"));
  +			fa.tokenStream(null, new StringReader("dummy"));
   		} catch (IllegalArgumentException iae) {
   			iaeFlag = true;
   		}
  
  
  

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