I am getting this warning:
When I click on the image, it just opens the associated Editor, but it doesn't say the line number where the warning is raised.
I don't want to add @SuppressWarning("unchecked")
on the whole class...
Any workaround/fix?
To compile with -Xlint:unchecked
in IntelliJ IDEA:
Settings
dialog (Ctrl+Alt+S or ⌘ +, ) Compiler
> Java Compiler
Add following into the field Additional command line parameters
:
-Xlint:unchecked
Run your compile again