Summary: | [javadoc] Incorrect placement of method comment relative to // comments | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Ian Jefferies <eclipse_bugzilla> |
Component: | Core | Assignee: | Frederic Fusier <frederic_fusier> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 2.1 | ||
Target Milestone: | 3.0 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Ian Jefferies
2003-02-17 19:45:49 EST
Not critical for 2.1. JavaCore assigns the comment to the method, even there is a newline inbetween. Defer Reopen to close as it's fixed since 3.0 Many improvements have been made during 3.0 development about comments management in JDT/Core (CommentRecorderParser, DefaultCommentMapper classes). I guess that this fixed this problem as now line comments are no longer attached to the method. Functionality Source->Add javadoc commment works now properly since 3.0 in this case and you get following code after using it: public class Test { private int test = 0; //============================= // a plain comment //============================= /** * @return */ public int getTest () { return test; } } |