diff --git a/sandbox/contributions/analyzers/src/test/org/apache/lucene/analysis/fr/TestFrenchAnalyzer.java b/sandbox/contributions/analyzers/src/test/org/apache/lucene/analysis/fr/TestFrenchAnalyzer.java index 10e71419a9a..dfb44d50ffa 100644 --- a/sandbox/contributions/analyzers/src/test/org/apache/lucene/analysis/fr/TestFrenchAnalyzer.java +++ b/sandbox/contributions/analyzers/src/test/org/apache/lucene/analysis/fr/TestFrenchAnalyzer.java @@ -54,7 +54,6 @@ package org.apache.lucene.analysis.fr; * . */ -import java.io.Reader; import java.io.StringReader; import junit.framework.TestCase; @@ -93,7 +92,7 @@ public class TestFrenchAnalyzer extends TestCase { // 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 @@ public class TestFrenchAnalyzer extends TestCase { // 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; }