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]

Patch: FYI: GregorianCalendar spec fix


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);
   }


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