remove unused imports and avoid warnings about unused variables

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151004 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Daniel Naber 2004-08-18 09:54:23 +00:00
parent 4816ac5b76
commit 203cbfce59
1 changed files with 2 additions and 3 deletions

View File

@ -54,7 +54,6 @@ package org.apache.lucene.analysis.fr;
* <http://www.apache.org/>.
*/
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;
}