diff options
author | Michael Koch <konqueror@gmx.de> | 2003-12-09 16:17:01 +0000 |
---|---|---|
committer | Michael Koch <mkoch@gcc.gnu.org> | 2003-12-09 16:17:01 +0000 |
commit | 3a7ab7e8b78d9f29598eb43e5643b5756ce0aa32 (patch) | |
tree | 166e9a8482fbbb9fbc2dae22bdbbedbba56f813b | |
parent | defd7921fd606f2f0b2c01e39c15c7d78da7cf2b (diff) | |
download | gcc-3a7ab7e8b78d9f29598eb43e5643b5756ce0aa32.zip gcc-3a7ab7e8b78d9f29598eb43e5643b5756ce0aa32.tar.gz gcc-3a7ab7e8b78d9f29598eb43e5643b5756ce0aa32.tar.bz2 |
Calendar.java, [...]: Import used classes explicitely.
2003-12-09 Michael Koch <konqueror@gmx.de>
* java/util/Calendar.java,
java/util/IdentityHashMap.java,
java/util/prefs/Preferences.java:
Import used classes explicitely.
From-SVN: r74471
-rw-r--r-- | libjava/ChangeLog | 7 | ||||
-rw-r--r-- | libjava/java/util/Calendar.java | 6 | ||||
-rw-r--r-- | libjava/java/util/IdentityHashMap.java | 5 | ||||
-rw-r--r-- | libjava/java/util/prefs/Preferences.java | 2 |
4 files changed, 17 insertions, 3 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 03afb65..e5d944d 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,5 +1,12 @@ 2003-12-09 Michael Koch <konqueror@gmx.de> + * java/util/Calendar.java, + java/util/IdentityHashMap.java, + java/util/prefs/Preferences.java: + Import used classes explicitely. + +2003-12-09 Michael Koch <konqueror@gmx.de> + * java/net/DatagramSocket.java (close): Directly return if socket is closed. * java/net/ServerSocket.java diff --git a/libjava/java/util/Calendar.java b/libjava/java/util/Calendar.java index 271d1d1..48624be 100644 --- a/libjava/java/util/Calendar.java +++ b/libjava/java/util/Calendar.java @@ -37,8 +37,12 @@ exception statement from your version. */ package java.util; + import java.lang.reflect.InvocationTargetException; -import java.io.*; +import java.io.IOException; +import java.io.ObjectInputStream; +import java.io.ObjectOutputStream; +import java.io.Serializable; /** * This class is an abstract base class for Calendars, which can be diff --git a/libjava/java/util/IdentityHashMap.java b/libjava/java/util/IdentityHashMap.java index f48c430..f29edb6 100644 --- a/libjava/java/util/IdentityHashMap.java +++ b/libjava/java/util/IdentityHashMap.java @@ -38,7 +38,10 @@ exception statement from your version. */ package java.util; -import java.io.*; +import java.io.IOException; +import java.io.ObjectInputStream; +import java.io.ObjectOutputStream; +import java.io.Serializable; /** * This class provides a hashtable-backed implementation of the diff --git a/libjava/java/util/prefs/Preferences.java b/libjava/java/util/prefs/Preferences.java index ab4874b..ea65550 100644 --- a/libjava/java/util/prefs/Preferences.java +++ b/libjava/java/util/prefs/Preferences.java @@ -45,7 +45,7 @@ import java.security.AccessController; import java.security.Permission; import java.security.PrivilegedAction; -import gnu.java.util.prefs.*; +import gnu.java.util.prefs.NodeReader; /** * Preference node containing key value entries and subnodes. |