ICU-2966 make clone polymorphic

X-SVN-Rev: 13318
This commit is contained in:
Alan Liu 2003-10-04 00:38:19 +00:00
parent 996bc7de46
commit 66e807ff85

View file

@ -128,7 +128,7 @@ public class JDKTimeZone extends TimeZone {
* Boilerplate API; calls through to wrapped object.
*/
public Object clone() {
return new JDKTimeZone((java.util.TimeZone)zone.clone());
return wrap((java.util.TimeZone)zone.clone());
}
/**