On 8/9/06, Toccoa <[EMAIL PROTECTED]> wrote: > > I just upgraded to Eclipse 3.2 and downloaded the July 31 version of > the Google Java code. In my Eclipse project I replaced April version of > the Google Java code with July. > > Alas, it does not compile. ( I posted about the April version of Google > code requiring 4 casts to compile. ) Those 4 casts went away but this > is more serious as I can not find a work-around. I think it has to do > with some visibility of anon inner classes in the Eclipse compiler. > > return (ElementHandler)entry.new AtomHandler(extProfile);
The workaround for this appears to be pretty simple. You just need to cast 'entry' to type BaseEntry, so change the line above to: return (ElementHandler)((BaseEntry)entry).new AtomHandler(extProfile); We'll rev this into the Java client library, but feel free to patch locally. -- Kyle --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Calendar Data API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-calendar-help-dataapi -~----------~----~----~----~------~----~------~--~---
