This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Implement getActualMinimum and Maximum


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]