From 85f9706b6bea1c6467b894693ccd9afcaaefbe0f Mon Sep 17 00:00:00 2001 From: Daniel Naber Date: Wed, 1 Mar 2006 20:59:54 +0000 Subject: [PATCH] trivial import cleanup to avoid compiler warnings git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@382156 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/lucene/swing/models/DataStore.java | 5 ++--- .../lucene/swing/models/ListSearcherSimulator.java | 14 +++++++++----- .../apache/lucene/swing/models/TestBasicList.java | 8 ++++---- .../apache/lucene/swing/models/TestBasicTable.java | 6 +++--- .../lucene/swing/models/TestSearchingList.java | 5 ++--- .../lucene/swing/models/TestUpdatingList.java | 2 -- .../lucene/swing/models/TestUpdatingTable.java | 2 -- 7 files changed, 20 insertions(+), 22 deletions(-) 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 - jonathan_s_simon@yahoo.com 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 - jonathan_s_simon@yahoo.com 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 - jonathan_s_simon@yahoo.com **/ 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 - jonathan_s_simon@yahoo.com 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 - jonathan_s_simon@yahoo.com */ 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 - jonathan_s_simon@yahoo.com */