Bug 115339

Summary: Spurious warnings on @return tags
Product: [Eclipse Project] JDT Reporter: Ian Brown <ian>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.2   
Target Milestone: 3.2 M4   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Ian Brown CLA 2005-11-07 11:33:54 EST
Vanilla 3.2 M3 installation, new workspace.

I am finding that I am getting spurious warnings on @return tags in my javadoc.

Consider this simple example:

   /**
    * Returns the event ID.
    * 
    * @return Returns the id.
    */
   public int getId()
   {
      return id;
   }

This (obviously) compiles without warnings, but if I then go and edit some 
other Javadoc somewhere else in the class, I get a warning underline on this 
@return, with the text "Missing return type description".

Once I save the file, the warning goes away (until the next Javadoc edit that 
I do)

Strange, but true - happens consistently and reliably
Comment 1 Ian Brown CLA 2005-11-07 11:35:48 EST
This actually seems to occur on any edit, not just Javadoc edits
Comment 2 Frederic Fusier CLA 2005-11-07 11:38:04 EST

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