This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: FYI: GregorianCalendar spec fix
- To: Java Patch List <java-patches at gcc dot gnu dot org>
- Subject: Patch: FYI: GregorianCalendar spec fix
- From: Tom Tromey <tromey at redhat dot com>
- Date: 22 Oct 2001 22:30:18 -0600
- Reply-To: tromey at redhat dot com
I'm checking this in.
This fixes a signature bug in GregorianCalendar.
Tom
Index: ChangeLog
from Tom Tromey <tromey@redhat.com>
* java/util/GregorianCalendar.java (getGregorianChange): Removed
`date' argument.
Index: java/util/GregorianCalendar.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/util/GregorianCalendar.java,v
retrieving revision 1.12
diff -u -r1.12 GregorianCalendar.java
--- java/util/GregorianCalendar.java 2001/07/30 00:41:31 1.12
+++ java/util/GregorianCalendar.java 2001/10/23 04:11:56
@@ -175,7 +175,7 @@
* Gets the date of the switch from Julian dates to Gregorian dates.
* @return the date of the change.
*/
- public final Date getGregorianChange(Date date)
+ public final Date getGregorianChange()
{
return new Date(gregorianCutover);
}