From 203cbfce5917b01b69e3b4876ed701809bf7ab30 Mon Sep 17 00:00:00 2001 From: Daniel Naber Date: Wed, 18 Aug 2004 09:54:23 +0000 Subject: [PATCH] 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 --- .../org/apache/lucene/analysis/fr/TestFrenchAnalyzer.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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; }