Search code examples
javaeclipserefactoringsuppress-warnings

What compiler warnings should I switch off?


I am refactoring java 1.3 legacy code, around 700 classes. Due to the lack of generics in this code I see currently thousands of warnings, which of them should I simply disable? I don't wan't to discuss of every single warning, just a rule of thumb in terms of groups displayed in eclipses the errors/warnings dialog.


Solution

  • Ignore the warnings you don't care about... :)

    I'd just take the first warning... if you don't understand it, research it. Once you understand it decide whether or not to ignore it.

    Repeat until done :)