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.text.DateFormat


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

Hi list,


I commited the attached simple patch to import used classes 
explicitely. This patch is also in classpath already.


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

iD8DBQE/zJ8oWSOgCCdjSDsRAm+wAJ43tsNpmZyZIYWw34vK8FS7Hm5hegCfR7yn
GXDqpOLB7F3Y1ZLRpLrItRQ=
=Aejb
-----END PGP SIGNATURE-----
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/libjava/ChangeLog,v
retrieving revision 1.2394
diff -u -b -B -r1.2394 ChangeLog
--- ChangeLog	2 Dec 2003 03:42:39 -0000	1.2394
+++ ChangeLog	2 Dec 2003 13:09:52 -0000
@@ -1,3 +1,8 @@
+2003-12-02  Michael Koch  <konqueror@gmx.de>
+
+	* java/text/DateFormat.java:
+	Explicitely import used classes.
+
 2003-12-01  Jeff Sturm  <jsturm@one-point.com>
 
 	* verify.cc (state::clean_subrs): Clear seen_subrs.
Index: java/text/DateFormat.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/text/DateFormat.java,v
retrieving revision 1.11
diff -u -b -B -r1.11 DateFormat.java
--- java/text/DateFormat.java	29 Oct 2003 16:07:59 -0000	1.11
+++ java/text/DateFormat.java	2 Dec 2003 13:09:52 -0000
@@ -38,8 +38,13 @@
 
 package java.text;
 
-import java.util.*;
 import java.io.InvalidObjectException;
+import java.util.Calendar;
+import java.util.Date;
+import java.util.Locale;
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+import java.util.TimeZone;
 
 /**
  * @author Per Bothner <bothner@cygnus.com>

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