Re: Generic typing errors
Re: Generic typing errors
- Subject: Re: Generic typing errors
- From: "Daniele Corti" <email@hidden>
- Date: Fri, 14 Dec 2007 12:58:44 +0100
2007/12/14, Paul Armitage <email@hidden>:
Hi,
I've switched to Eclipse 3.3.1.1 with WOLips 3.3.4743.
I'm on Leopard but with Wonder compiled for 53 and with the WO53
frameworks installed as per current thinking. (Many thanks Mike, what
_would_ we do without you? See, it _is_ appreciated!)
Now any source which refers to an NSMutableArray or an
NSMutableDictionary is throwing an error like this:
NSMutableDictionary bindings = new NSMutableDictionary();
"The type Dictionary is not generic; it cannot be parameterized with
arguments <? extends K, ? extends V>"
Does it throw an error? I only have warnings.
For the projects I'm referring to ERExtensions, ERJars and they are
not included as projects in my workspace. In the Compiler/Errors/
Warnings/Generic types section I have all set to "Ignore", which I
thought (mistakenly it seems) would address this problem.
If it is an error you cannot make Java compiler ignore it.
If it is a warning use @SuppressWarning (I don't know the exact syntax I only know that it exists, sorry)
Could someone more familiar with Eclipse please point out what simple
and obvious setting I'm missing to switch these errors off?
Thanks,
Paul
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AIM: S0CR4TE5
Messenger: email@hidden
--
Computers are like air conditioners -- they stop working properly if you open
WINDOWS
--
What about the four lusers of the apocalypse? I nominate:
"advertising", "can't log in", "power switch" and "what backup?"
--Alistair Young
_______________________________________________
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