summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/util
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2004-05-03 19:52:29 +0000
committerMichael Koch <mkoch@gcc.gnu.org>2004-05-03 19:52:29 +0000
commit7b68f0bf7ec0b3e1fa43ca8b764c39c43e27bba7 (patch)
tree03f92428f0c2e86247a13ecd437734b2dbf92032 /libjava/gnu/java/util
parentdc7c62aea4084270bcc366aba86bb735d9a7f6f1 (diff)
downloadgcc-7b68f0bf7ec0b3e1fa43ca8b764c39c43e27bba7.tar.gz
URLStreamHandler.java (toExternalForm): Removed unused variables.
2004-05-03 Tom Tromey <tromey@redhat.com> * java/net/URLStreamHandler.java (toExternalForm): Removed unused variables. unused constructor. * java/math/BigDecimal.java (divide): Removed unused variable. * java/lang/Throwable.java: Cleaned up imports. * java/lang/ClassLoader.java: Cleaned up imports. * java/io/FilePermission.java (implies): Removed unused variable. * java/awt/TextComponent.java: Removed unused import. * gnu/java/util/prefs/NodeReader.java: Cleaned up imports. * gnu/java/util/DoubleEnumeration.java: Removed unused import. * gnu/java/text/WordBreakIterator.java: Removed unused import. * gnu/java/text/SentenceBreakIterator.java: Removed unused import. * gnu/java/text/LineBreakIterator.java: Removed unused import. * gnu/java/text/CharacterBreakIterator.java: Removed unused import. * gnu/java/security/provider/DSAKeyPairGenerator.java: Cleaned up imports. * gnu/java/security/der/DERWriter.java: Cleaned up imports. * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed unused method. * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports. * gnu/java/nio/FileLockImpl.java: Cleaned up imports. * gnu/java/io/Base64InputStream.java: Cleaned up imports. * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports. * gnu/classpath/ServiceFactory.java: Cleaned up imports. (lookupProviders): Removed unused variable. (loadNextServiceProvider): Likewise. * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports. From-SVN: r81450
Diffstat (limited to 'libjava/gnu/java/util')
-rw-r--r--libjava/gnu/java/util/DoubleEnumeration.java1
-rw-r--r--libjava/gnu/java/util/prefs/NodeReader.java8
2 files changed, 4 insertions, 5 deletions
diff --git a/libjava/gnu/java/util/DoubleEnumeration.java b/libjava/gnu/java/util/DoubleEnumeration.java
index fd033a356f8..21eb605e792 100644
--- a/libjava/gnu/java/util/DoubleEnumeration.java
+++ b/libjava/gnu/java/util/DoubleEnumeration.java
@@ -37,7 +37,6 @@ exception statement from your version. */
package gnu.java.util;
-import java.io.*;
import java.util.Enumeration;
import java.util.NoSuchElementException;
diff --git a/libjava/gnu/java/util/prefs/NodeReader.java b/libjava/gnu/java/util/prefs/NodeReader.java
index 6c9fdc9ec06..e343b6b2b5c 100644
--- a/libjava/gnu/java/util/prefs/NodeReader.java
+++ b/libjava/gnu/java/util/prefs/NodeReader.java
@@ -38,13 +38,13 @@ exception statement from your version. */
package gnu.java.util.prefs;
import java.io.BufferedReader;
+import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
-import java.io.InputStream;
-import java.io.IOException;
import java.io.Reader;
-
-import java.util.prefs.*;
+import java.util.prefs.InvalidPreferencesFormatException;
+import java.util.prefs.Preferences;
+import java.util.prefs.PreferencesFactory;
/**
* Reads and imports preferences nodes from files.