Bug 115339 - Spurious warnings on @return tags
Summary: Spurious warnings on @return tags
Status: RESOLVED DUPLICATE of bug 114338
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2 M4   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-07 11:33 EST by Ian Brown CLA
Modified: 2005-11-07 11:38 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***