Project: JDT
Bug 203719 [quick fix] Document parameter/exception generates too much
Reported: 2007-09-18 06:10:13 | Status: resolved fixed

I20070918-0010. 1. have: import java.io.IOException; public class Foo { void foo(int unused) throws IOException {} } 2. enable warning for unused param and unnecessary thrown checked exception 3. select 'unused' in the code and then quick fix 'Document parameter...' ==> adds: /** * @param unused * @throws IOException */ ==> now I can no longer use the quick fix to remove the thrown exception. Same is true for the 'Document thrown exception...'

Files changed in fix:
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/LocalCorrectionsQuickFixTest.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/JavadocTagsSubProcessor.java