Community
Participate
Working Groups
we have warnings for all sorts of unused things. one for unused labels would be good too.
deferred
reopen
Added support. Tuned existing test suites. * COMPILER / Reporting Unreferenced Label * When enabled, the compiler will issue an error or a warning when encountering a labeled statement which label * is never explicitly referenced. A label is considered to be referenced if its name explicitly appears behind a break * or continue statement; for instance the following label would be considered unreferenced; LABEL: { break; } * - option id: "org.eclipse.jdt.core.compiler.problem.unusedLabel" * - possible values: { "error", "warning", "ignore" } * - default: "warning"
fixed
UI added for the new option > 20051017
Verified for 3.2 M3 using build I20051025-0800+JDT/Core v_618a