Re: Warnings and collections
- From: "Chris Uppal" <chris.uppal@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 24 Apr 2006 09:13:41 +0100
Patricia Shanahan wrote:
I'm picking up a project I last worked on about a year, and one JDK
version, ago. It makes extensive use of java.util collections.
I just did a rebuild, and got 100 "Type safety" warnings. It used
to be warning-free.
I can't offer alternative technical solutions. I doubt if there are any
(though Mike's ingenious idea comes close). Welcome to the wonderful world of
generics make-work !
Is it possible to split your stuff up so that you can compile some
sub-components with 1.4 settings, while continuing to work on other parts with
a 1.5 compiler ?
If not, or to the extent that is is not, then I think I'd just [sigh deeply
and] accept the hit. Better to get it over with now, rather than having it
hanging around irritating me every time I think about it... It'd be a chance
to do some code-cleaning too, so it might not be a /total/ waste of time.
This is what we get for using a language with a fashion-lead design process.
-- chris
.
- Follow-Ups:
- Re: Warnings and collections
- From: Patricia Shanahan
- Re: Warnings and collections
- References:
- Warnings and collections
- From: Patricia Shanahan
- Warnings and collections
- Prev by Date: Re: strange performance behavior of a mathematical method: why?
- Next by Date: Re: Using JTabbedPane from Mustang with 1.5 JRE
- Previous by thread: Re: Warnings and collections
- Next by thread: Re: Warnings and collections
- Index(es):
Relevant Pages
|