showing warning when declaring raw types
In Eclipse I see a warning in the editor each time I declare a raw type like:
List l = null;
instead of
List<MyClass> l = null
I am missing this feature. How can I activate the same behavior in IntelliJ? After browsing a bit, some people suggested to verify the settings under:
Editor->Code Style->Inspections->Java->Compiler Issues.
I verified that "Unchecked Warning" is checked there but apparently this is not what I am looking for since I still do not see any warning in my raw type declarations.
Thanks!
Please sign in to leave a comment.
Nevermind, found it under "Raw use of Parameterized class".
Thank you, this is what I was looking for.