I have a Java application that I work on using Eclipse. I have hundreds of warnings that are all due to things like this:
ArrayList< SomeType > list = new ArrayList();
generating a warning that ArrayList is a raw type since I haven't included the type specifier when allocating the ArrayList itself. Is there a way to suppress this warning globally in Eclipse, rather than adding a @SuppressWarning annotation?
I'm concerned that I'm missing a warning that may be more valuable because of all these raw type ones.
Can change the settings by navigating -
project properties -> Java Compiler -> Errors/Warnings -> Generics types
Enable the - Enable project specific settings
Change warning to ignore.