Summary: | [Formatter] endline comment in case of simple if-then statement | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Sebastian Davids <sdavids> |
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.0 | ||
Target Milestone: | 3.0 M7 | ||
Hardware: | PC | ||
OS: | All | ||
Whiteboard: |
Description
Sebastian Davids
2004-02-01 17:25:35 EST
Comments on the line of a statement should probably always stay on the line of the statement. (also for cases like /* protected */ void foo() {..}) We should have the same heuristic in mapping comments to nodes in the AST rewrite and in the formatting (work in progress) This is not a guardian clause, but a simple if-then statement. Update the title accordingly. Fixed and released in HEAD. Regression test added. Verified in 200402121200. |