I’m working with an older Java application that was written for Java 1.4, before Generics were available. Since then, we have completed our upgrade to Java 6.
We are now looking into making a change to support Generics in our collections for the benefit of compile time type safety checks, and to preserve developer sanity.
Are there any caveats or gotchas we should be aware of in performing this upgrade?
@SuppressWarning("unchecked")to make warnings go away.Nothing particularly profound here …