Re: Curly Generics Question - Update
Re: Curly Generics Question - Update
- Subject: Re: Curly Generics Question - Update
- From: Andrew Lindesay <email@hidden>
- Date: Sat, 16 May 2009 00:23:36 +1200
Hello Jim;
Thanks for the reply.
what the calling method ought to be doing though is declaring the
list it passes as Map<String, List<String>> and hiding the concrete
List implementation, negating the need for the wildcard.
I tried it with a concrete implementation of List as well, but this
also raised an error in a similar fashion. It's got me. You are
right, I could create a new Map and use that instead as it should
work, but that would be rather inelegant.
Could this be considered a bug in WOApplication?
Yes, I think it is not quite right.
cheers.
___
Andrew Lindesay
www.lindesay.co.nz
_______________________________________________
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