P
Patricia Shanahan
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.
My options seem to be:
1. Modify the source code to use generics, spending time making changes
that are not really relevant to my current project.
2. Live with the warnings, and the consequential risk that I'll miss a
warning that does mean something.
3. Go back to JDK 1.4, and not use e.g. generics in any new code.
4. Something else? If so, what?
Has anyone found a good solution to this problem? If not, any advice on
which less-than-desirable compromise to choose?
Thanks,
Patricia
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.
My options seem to be:
1. Modify the source code to use generics, spending time making changes
that are not really relevant to my current project.
2. Live with the warnings, and the consequential risk that I'll miss a
warning that does mean something.
3. Go back to JDK 1.4, and not use e.g. generics in any new code.
4. Something else? If so, what?
Has anyone found a good solution to this problem? If not, any advice on
which less-than-desirable compromise to choose?
Thanks,
Patricia