Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

trivial import cleanup to avoid compiler warnings

Daniel Naber85f9706b6bea
diff --git a/contrib/swing/src/test/org/apache/lucene/swing/models/DataStore.java b/contrib/swing/src/test/org/apache/lucene/swing/models/DataStore.java
index 5d791557658..64de20dae4c 100644
--- a/contrib/swing/src/test/org/apache/lucene/swing/models/DataStore.java
+++ b/contrib/swing/src/test/org/apache/lucene/swing/models/DataStore.java
@@ -18,10 +18,9 @@ package org.apache.lucene.swing.models;
*/
-import java.util.Iterator;
-import java.util.Collection;
import java.util.ArrayList;
-import java.math.BigDecimal;
+import java.util.Collection;
+import java.util.Iterator;
/**
* @author Jonathan Simon - [email protected]
diff --git a/contrib/swing/src/test/org/apache/lucene/swing/models/ListSearcherSimulator.java b/contrib/swing/src/test/org/apache/lucene/swing/models/ListSearcherSimulator.java
index ab0bc0c0ee0..c3c6916d75b 100644
--- a/contrib/swing/src/test/org/apache/lucene/swing/models/ListSearcherSimulator.java
+++ b/contrib/swing/src/test/org/apache/lucene/swing/models/ListSearcherSimulator.java
@@ -16,12 +16,16 @@ package org.apache.lucene.swing.models;
* limitations under the License.
*/
-import javax.swing.*;
-import javax.swing.event.DocumentListener;
+import java.awt.BorderLayout;
+
+import javax.swing.JFrame;
+import javax.swing.JLabel;
+import javax.swing.JList;
+import javax.swing.JPanel;
+import javax.swing.JScrollPane;
+import javax.swing.JTextField;
import javax.swing.event.DocumentEvent;
-import java.awt.event.ActionListener;
-import java.awt.event.ActionEvent;
-import java.awt.*;
+import javax.swing.event.DocumentListener;
/**
* @author Jonathan Simon - [email protected]
diff --git a/contrib/swing/src/test/org/apache/lucene/swing/models/TestBasicList.java b/contrib/swing/src/test/org/apache/lucene/swing/models/TestBasicList.java
index c63ca0629ee..16d7ac431e2 100644
--- a/contrib/swing/src/test/org/apache/lucene/swing/models/TestBasicList.java
+++ b/contrib/swing/src/test/org/apache/lucene/swing/models/TestBasicList.java
@@ -16,12 +16,12 @@ package org.apache.lucene.swing.models;
* limitations under the License.
*/
-import junit.framework.Test;
-import junit.framework.TestCase;
-
-import javax.swing.*;
import java.util.ArrayList;
+import javax.swing.ListModel;
+
+import junit.framework.TestCase;
+
/**
* @author Jonathan Simon - [email protected]
**/
diff --git a/contrib/swing/src/test/org/apache/lucene/swing/models/TestBasicTable.java b/contrib/swing/src/test/org/apache/lucene/swing/models/TestBasicTable.java
index 97c71415f60..39a878b4ba2 100644
--- a/contrib/swing/src/test/org/apache/lucene/swing/models/TestBasicTable.java
+++ b/contrib/swing/src/test/org/apache/lucene/swing/models/TestBasicTable.java
@@ -16,11 +16,11 @@ package org.apache.lucene.swing.models;
* limitations under the License.
*/
-import junit.framework.Test;
-import junit.framework.TestCase;
+import java.util.ArrayList;
import javax.swing.table.TableModel;
-import java.util.ArrayList;
+
+import junit.framework.TestCase;
/**
* @author Jonathan Simon - [email protected]
diff --git a/contrib/swing/src/test/org/apache/lucene/swing/models/TestSearchingList.java b/contrib/swing/src/test/org/apache/lucene/swing/models/TestSearchingList.java
index b7e0d6d5c5e..7281a55f62d 100644
--- a/contrib/swing/src/test/org/apache/lucene/swing/models/TestSearchingList.java
+++ b/contrib/swing/src/test/org/apache/lucene/swing/models/TestSearchingList.java
@@ -16,10 +16,9 @@ package org.apache.lucene.swing.models;
* limitations under the License.
*/
-import junit.framework.TestCase;
+import javax.swing.ListModel;
-import javax.swing.table.TableModel;
-import javax.swing.*;
+import junit.framework.TestCase;
/**
diff --git a/contrib/swing/src/test/org/apache/lucene/swing/models/TestUpdatingList.java b/contrib/swing/src/test/org/apache/lucene/swing/models/TestUpdatingList.java
index d8e5c871694..77530477642 100644
--- a/contrib/swing/src/test/org/apache/lucene/swing/models/TestUpdatingList.java
+++ b/contrib/swing/src/test/org/apache/lucene/swing/models/TestUpdatingList.java
@@ -18,8 +18,6 @@ package org.apache.lucene.swing.models;
import junit.framework.TestCase;
-import javax.swing.table.TableModel;
-
/**
* @author Jonathan Simon - [email protected]
*/
diff --git a/contrib/swing/src/test/org/apache/lucene/swing/models/TestUpdatingTable.java b/contrib/swing/src/test/org/apache/lucene/swing/models/TestUpdatingTable.java
index e1a58cfd395..a11e9f979b2 100644
--- a/contrib/swing/src/test/org/apache/lucene/swing/models/TestUpdatingTable.java
+++ b/contrib/swing/src/test/org/apache/lucene/swing/models/TestUpdatingTable.java
@@ -18,8 +18,6 @@ package org.apache.lucene.swing.models;
import junit.framework.TestCase;
-import javax.swing.table.TableModel;
-
/**
* @author Jonathan Simon - [email protected]
*/