[kaffe] CVS kaffe (dalibor): Resynced with GNU classpath: DateFormat

Kaffe CVS cvs-commits at kaffe.org
Sun Jul 11 22:14:29 PDT 2004


PatchSet 4950 
Date: 2004/07/12 05:08:46
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Resynced with GNU classpath: DateFormat

2004-07-11  Dalibor Topic  <robilad at kaffe.org>

        * libraries/javalib/java/text/DateFormat.java:
        Resynced with GNU Classpath.

        2003-06-27  Dalibor Topic  <robilad at kaffe.org>

        * java/text/DateFormat.java (parse):
        Improved javadoc. Improved exception message.

Members: 
	ChangeLog:1.2515->1.2516 
	libraries/javalib/java/text/DateFormat.java:1.22->1.23 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2515 kaffe/ChangeLog:1.2516
--- kaffe/ChangeLog:1.2515	Mon Jul 12 04:58:00 2004
+++ kaffe/ChangeLog	Mon Jul 12 05:08:46 2004
@@ -14,6 +14,16 @@
 
 2004-07-11  Dalibor Topic  <robilad at kaffe.org>
 
+	* libraries/javalib/java/text/DateFormat.java:
+	Resynced with GNU Classpath.
+
+	2003-06-27  Dalibor Topic  <robilad at kaffe.org>
+
+        * java/text/DateFormat.java (parse):
+        Improved javadoc. Improved exception message.
+
+2004-07-11  Dalibor Topic  <robilad at kaffe.org>
+
 	* libraries/javalib/java/text/MessageFormat.java:
 	Resynced with GNU Classpath.
 
Index: kaffe/libraries/javalib/java/text/DateFormat.java
diff -u kaffe/libraries/javalib/java/text/DateFormat.java:1.22 kaffe/libraries/javalib/java/text/DateFormat.java:1.23
--- kaffe/libraries/javalib/java/text/DateFormat.java:1.22	Wed Jun 16 20:28:32 2004
+++ kaffe/libraries/javalib/java/text/DateFormat.java	Mon Jul 12 05:08:49 2004
@@ -1,5 +1,6 @@
 /* DateFormat.java -- Class for formatting/parsing date/times
-   Copyright (C) 1998, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
+   Copyright (C) 1998, 1999, 2000, 2001, 2003, 2004
+   Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -605,7 +606,8 @@
 	int index = pos.getErrorIndex();
 	if (index < 0)
 	  index = pos.getIndex();
-	throw new ParseException("invalid Date syntax in string \"" + source + '\"', index);
+	throw new ParseException("invalid Date syntax in \""
+				 + source + '\"', index);
       }
     return result;
   }




More information about the kaffe mailing list