Bug 275737 - [quick fix] Add quickfix for "Javadoc: Description expected after @return"
Summary: [quick fix] Add quickfix for "Javadoc: Description expected after @return"
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 275738
  Show dependency tree
 
Reported: 2009-05-11 17:15 EDT by Curtis Windatt CLA
Modified: 2009-05-12 03:49 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Curtis Windatt CLA 2009-05-11 17:15:18 EDT
If you have an @return javadoc statement with nothing after it you get a configurable warning.  There is no quickfix.

If you have an @return javadoc statement on a method that returns nothing, you get a configurable warning with a quickfix to remove the offending line.

The line removing quickfix should also be available for the first error.

Also, if you use the quickfix to remove the line, and there is no other text in the javadoc statement, it should remove the /** */ entirely.
Comment 1 Frederic Fusier CLA 2009-05-12 03:41:35 EDT
Move to JDT/UI