can javac warn about unused imports?
843810Jun 27 2005 — edited Jun 29 2005Guys,
Do you know if there is any way that sun's javac command line tool can be configured to warn if a java source file declares imports which are never used inside the file?
Many IDEs will somehow graphically indicate this (e.g. eclipse and intellij do), but I need this functionality from the javac tool for some stuff that I am doing.