Re: JasperReport LocalDate question
Re: JasperReport LocalDate question
- Subject: Re: JasperReport LocalDate question
- From: David Avendasora <email@hidden>
- Date: Sun, 30 Jan 2011 11:10:26 -0500
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden