mirror of https://github.com/apache/lucene.git
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:
parent
4816ac5b76
commit
203cbfce59
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue