This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

FYI: Patch: java.util


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi list,


I commited the attached simple patch to explicitly import used 
classes.


Michael
- -- 
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/1gT4WSOgCCdjSDsRAitvAJ44u07Z62GaVhpSe4uKnDX4L3QvYgCffUE0
Atte9EfIf3titM75lgmOhvA=
=ypzt
-----END PGP SIGNATURE-----
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/libjava/ChangeLog,v
retrieving revision 1.2433
diff -u -b -B -r1.2433 ChangeLog
--- ChangeLog	9 Dec 2003 15:39:23 -0000	1.2433
+++ ChangeLog	9 Dec 2003 16:16:21 -0000
@@ -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
Index: java/util/Calendar.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/util/Calendar.java,v
retrieving revision 1.16
diff -u -b -B -r1.16 Calendar.java
--- java/util/Calendar.java	18 Sep 2003 06:34:00 -0000	1.16
+++ java/util/Calendar.java	9 Dec 2003 16:16:21 -0000
@@ -37,8 +37,12 @@
 
 
 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
Index: java/util/IdentityHashMap.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/util/IdentityHashMap.java,v
retrieving revision 1.9
diff -u -b -B -r1.9 IdentityHashMap.java
--- java/util/IdentityHashMap.java	16 Jun 2002 21:15:42 -0000	1.9
+++ java/util/IdentityHashMap.java	9 Dec 2003 16:16:21 -0000
@@ -38,7 +38,10 @@
 
 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
Index: java/util/prefs/Preferences.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/util/prefs/Preferences.java,v
retrieving revision 1.3
diff -u -b -B -r1.3 Preferences.java
--- java/util/prefs/Preferences.java	8 Oct 2003 15:30:21 -0000	1.3
+++ java/util/prefs/Preferences.java	9 Dec 2003 16:16:21 -0000
@@ -45,7 +45,7 @@
 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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]