This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [patch] Implement getActualMinimum and Maximum
- From: Tom Tromey <tromey at redhat dot com>
- To: Jerry Quinn <jlquinn at optonline dot net>
- Cc: java-patches at gcc dot gnu dot org
- Date: 04 May 2004 18:41:11 -0600
- Subject: Re: [patch] Implement getActualMinimum and Maximum
- References: <E1BHFOO-00063Z-00@localhost>
- Reply-to: tromey at redhat dot com
>>>>> "Jerry" == Jerry Quinn <jlquinn@optonline.net> writes:
Jerry> This patch implements the Calendar methods that are no longer abstract
Jerry> in 1.2 and newer.
This general approach looks ok, though a little surprising.
Jerry> ! Calendar tmp = clone(); // To avoid restoring state
Don't you need to cast the result of clone() here?
With that change (there are two instances of this), this is ok.
Tom