Hi Ted, What was the actual method signature of the LocalDate compareTo method? I'm guessing was "compareTo(Object obj)" or similar. By commenting it out you're no longer overriding it with a clashing class name. Now when compareTo is called, it's using the compareTo method on Date instead, which is likely what you want anyway.
Now, on the question of changing LocalDate from extending Joda LocalDate to java.util.Date, is an entirely different thing... can't help you there. Dave On Jan 30, 2011, at 8:31 AM, Theodore Petrosky wrote: > Name clash: The method compareTo(Object) of type LocalDate has the same > erasure as compareTo(T) of type Comparable<T> but does > not override it _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
