summaryrefslogtreecommitdiffstats
path: root/libjava/java/text/SimpleDateFormat.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/text/SimpleDateFormat.java')
-rw-r--r--libjava/java/text/SimpleDateFormat.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/libjava/java/text/SimpleDateFormat.java b/libjava/java/text/SimpleDateFormat.java
index 7e237f79dfa..f9bee8eb906 100644
--- a/libjava/java/text/SimpleDateFormat.java
+++ b/libjava/java/text/SimpleDateFormat.java
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998, 1999 Red Hat, Inc.
+/* Copyright (C) 1998, 1999, 2000 Red Hat, Inc.
This file is part of libgcj.
@@ -512,6 +512,12 @@ public class SimpleDateFormat extends DateFormat
other.defaultCenturyStart));
}
+ public Object clone ()
+ {
+ // We know the superclass just call's Object's generic cloner.
+ return super.clone ();
+ }
+
public int hashCode ()
{
int hash = super.hashCode();
OpenPOWER on IntegriCloud