Bug 115483 - [javadoc] compilation unit shows warning on every javadoc @return tag
Summary: [javadoc] compilation unit shows warning on every javadoc @return tag
Status: RESOLVED DUPLICATE of bug 114338
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Linux-GTK
: P3 major (vote)
Target Milestone: 3.2 M4   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-08 09:33 EST by Tom Hofmann CLA
Modified: 2005-11-08 10:23 EST (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 Tom Hofmann CLA 2005-11-08 09:33:30 EST
3.2 M3

- Enable javadoc processing by the compiler
- Open a CU with javadocs
- start editing the CU

-> every @return block tag is marked with a warning, which is wrong

- save the CU

-> the warnings go away again

Not sure whether the problem is on our side (mapping in
CompilationUnitAnnotationModel?) or jdt-core.
Comment 1 Dani Megert CLA 2005-11-08 09:57:24 EST
The problem gets reported by JDT Core during reconcile(...)

Test Case: Enable missing Javadoc warnings and start to type in the following CU:

package p;

/** */
public class Foo {
	/**
	 * @return foo
	 */
	public String toString() {
	    return "";
	}

}
Comment 2 Frederic Fusier CLA 2005-11-08 10:23:16 EST

*** This bug has been marked as a duplicate of 114338 ***