Bug 218926 - Ignore 'documented parameter is never read' does not work
Summary: Ignore 'documented parameter is never read' does not work
Status: VERIFIED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows Vista
: P3 major (vote)
Target Milestone: 3.4 M6   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-14 04:47 EST by Benno Baumgartner CLA
Modified: 2008-03-25 12:41 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benno Baumgartner CLA 2008-02-14 04:47:09 EST
M20080212-1200

Given:
package test;
public class Krass {
	
	public void foo(int parameter) {}
}

1. Set project specific compiler options:
 Parameter is never read: Warning
 Ignore parameters documented with @param tag: enabled
2. Add java doc with param tag for 'parameter'
3. Save
Is:
 A grayed (disabled?) waring annotation stays in the vertical ruler. The editor tab shows a warning, the squiggly line is gone though. Maybe an editor problem?
4. Close/reopen Krass
Is:
 Warning annotation: parameter is never read.

This is in 3.3.2! Major, maybe a fundamental problem?
Comment 1 Benno Baumgartner CLA 2008-02-14 04:55:35 EST
Mmm, this seams to be completely broken. Now I have a warning annotation in the ruler, but no squiggly lines in the editor. Even '@SuppressWarnings("unused")'/restarting eclipse does not make the warning go away. This is on vista btw.
Comment 2 Benno Baumgartner CLA 2008-02-14 04:58:02 EST
'Clean all' did remove the marker. Nothing in the log.
Comment 3 Benno Baumgartner CLA 2008-02-14 05:31:10 EST
Oh boy, maybe I should enabled autobuild. Sorry...
Comment 4 Kent Johnson CLA 2008-03-25 12:41:56 EDT
Verified for 3.4M6