Bug 275737

Summary: [quick fix] Add quickfix for "Javadoc: Description expected after @return"
Product: [Eclipse Project] JDT Reporter: Curtis Windatt <curtis.windatt.public>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P3 CC: contact, daniel_megert
Version: 3.5   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on:    
Bug Blocks: 275738    

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