I've always had to cast those like this:

updateEntry = (EventEntry) myService.getEntry(loadUrl, EventEntry.class);

But I wish I could say why this happens.

--
Darren

On 5/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

I'm working with the following code and while one Eclipse platform
handles this correctly, my platform throws the error: Type mismatch:
cannot convert from type BaseEntry to EventEntry

                URL loadUrl = new URL(updateTimeSpace.getGoogleUrlEntry());
                EventEntry updateEntry;
                try {

                        updateEntry = myService.getEntry(loadUrl, EventEntry.class);

myService is correctly defined and shows getEntry(URL, <E>) <E> in the
package explorer but shows a popup of getEntry(URL arg0, Class arg1)
baseEntry - GoogleService in the Eclipse autocomplete.

We've verified jar files a couple of times and have both reloaded from
head to ensure that everything is the same...

Any guidance available as to what might be fouling my configuration?

Cheers,
Derek.



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

Reply via email to