2003-05-19 Michael Koch <konqueror@gmx.de>
authorMichael Koch <konqueror@gmx.de>
Mon, 19 May 2003 09:14:57 +0000 (09:14 +0000)
committerMichael Koch <mkoch@gcc.gnu.org>
Mon, 19 May 2003 09:14:57 +0000 (09:14 +0000)
* java/util/Calendar.java
(get): Not final anymore since JDK 1.4
(set): Likewise.

From-SVN: r66956

libjava/ChangeLog
libjava/java/util/Calendar.java

index a620831f832e2821711a1810bc6a599f7cd22f69..459ef17af6a3490ef0092c0e7ea0250a1cf84b48 100644 (file)
@@ -1,3 +1,9 @@
+2003-05-19  Michael Koch  <konqueror@gmx.de>
+
+       * java/util/Calendar.java
+       (get): Not final anymore since JDK 1.4
+       (set): Likewise.
+
 2003-05-19  Michael Koch  <konqueror@gmx.de>
 
        * java/text/CollationKey.java:
index 09e9f2673a547c1305f20a23001ae34fe4ed5c1e..9a4e21f69de6ca778dafa656cbc8f20ddc08bf3c 100644 (file)
@@ -531,8 +531,10 @@ public abstract class Calendar implements Serializable, Cloneable
    * if they are invalid.
    * @param field the time field. One of the time field constants.
    * @return the value of the specified field
+   *
+   * @specnote Not final since JDK 1.4
    */
-  public final int get(int field)
+  public int get(int field)
   {
     // If the requested field is invalid, force all fields to be recomputed.
     if (!isSet[field])
@@ -558,8 +560,10 @@ public abstract class Calendar implements Serializable, Cloneable
    * the time in milliseconds.
    * @param field the time field. One of the time field constants
    * @param value the value to be set.
+   *
+   * @specnote Not final since JDK 1.4
    */
-  public final void set(int field, int value)
+  public void set(int field, int value)
   {
     isTimeSet = false;
     fields[field] = value;