Skip to content

Apache Lucene open-source search software

import cleanup to avoid Eclipse warnings

Daniel Naber31c271c84bf1
diff --git a/contrib/surround/src/java/org/apache/lucene/queryParser/surround/query/SrndPrefixQuery.java b/contrib/surround/src/java/org/apache/lucene/queryParser/surround/query/SrndPrefixQuery.java
index 8804ee7b148..e1683b8f126 100644
--- a/contrib/surround/src/java/org/apache/lucene/queryParser/surround/query/SrndPrefixQuery.java
+++ b/contrib/surround/src/java/org/apache/lucene/queryParser/surround/query/SrndPrefixQuery.java
@@ -15,8 +15,6 @@ package org.apache.lucene.queryParser.surround.query;
* limitations under the License.
*/
-import java.util.ArrayList;
-
import org.apache.lucene.index.Term;
import org.apache.lucene.index.TermEnum;
import org.apache.lucene.index.IndexReader;
diff --git a/contrib/surround/src/java/org/apache/lucene/queryParser/surround/query/SrndQuery.java b/contrib/surround/src/java/org/apache/lucene/queryParser/surround/query/SrndQuery.java
index 41ca1d24caa..154efc69805 100644
--- a/contrib/surround/src/java/org/apache/lucene/queryParser/surround/query/SrndQuery.java
+++ b/contrib/surround/src/java/org/apache/lucene/queryParser/surround/query/SrndQuery.java
@@ -15,15 +15,9 @@ package org.apache.lucene.queryParser.surround.query;
* limitations under the License.
*/
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Iterator;
-
-import java.io.IOException;
-
-import org.apache.lucene.search.Query;
-import org.apache.lucene.search.BooleanQuery;
import org.apache.lucene.search.BooleanClause;
+import org.apache.lucene.search.BooleanQuery;
+import org.apache.lucene.search.Query;
public abstract class SrndQuery implements Cloneable {
public SrndQuery() {}
diff --git a/contrib/surround/src/java/org/apache/lucene/queryParser/surround/query/SrndTermQuery.java b/contrib/surround/src/java/org/apache/lucene/queryParser/surround/query/SrndTermQuery.java
index 4d190fca146..6680b558269 100644
--- a/contrib/surround/src/java/org/apache/lucene/queryParser/surround/query/SrndTermQuery.java
+++ b/contrib/surround/src/java/org/apache/lucene/queryParser/surround/query/SrndTermQuery.java
@@ -15,16 +15,12 @@ package org.apache.lucene.queryParser.surround.query;
* limitations under the License.
*/
-import java.util.List;
+import java.io.IOException;
-import org.apache.lucene.search.Query;
-import org.apache.lucene.search.TermQuery;
+import org.apache.lucene.index.IndexReader;
import org.apache.lucene.index.Term;
import org.apache.lucene.index.TermEnum;
-import org.apache.lucene.index.IndexReader;
-import java.io.IOException;
-
public class SrndTermQuery extends SimpleTerm {
public SrndTermQuery(String termText, boolean quoted) {