Why does Eclipse warn about Java "unused variables" but javac doesn't?
5 answers
Quoting from JDT Core (Eclipse Editor Framework)
JDT Core is a Java IDE framework. It includes:
Java incremental compiler. Implemented as an Eclipse builder, it is based on technology developed from VisualAge for the Java compiler. In particular, it allows you to run and debug code that still contains unresolved errors.
This is an incremental java compiler that shows waraning.
Cannot enable this warning in Sun / Oracle javac
+5
source to share