From 9a535f218ba9073ccf7b4dab9a876cf673c496c8 Mon Sep 17 00:00:00 2001 From: mkoch Date: Mon, 19 May 2003 09:14:57 +0000 Subject: 2003-05-19 Michael Koch * java/util/Calendar.java (get): Not final anymore since JDK 1.4 (set): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66956 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/java/util/Calendar.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'libjava/java/util') diff --git a/libjava/java/util/Calendar.java b/libjava/java/util/Calendar.java index 09e9f2673a5..9a4e21f69de 100644 --- a/libjava/java/util/Calendar.java +++ b/libjava/java/util/Calendar.java @@ -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; -- cgit v1.2.3