| Summary: | Formatting rules cause extra space to be added after double bracket | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Scott Murray <scott.murray2> | ||||||
| Component: | Core | Assignee: | Mateusz Matela <mateusz.matela> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | mateusz.matela | ||||||
| Version: | 4.5.1 | ||||||||
| Target Milestone: | 4.6 M4 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows 7 | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
Created attachment 258304 [details]
Formatter XML
*** This bug has been marked as a duplicate of bug 471203 *** |
Created attachment 258303 [details] maven project to import After formmatting MARRs 3.5.1 changes this: @Table(name = FormattingBug.NAME, uniqueConstraints = @UniqueConstraint(columnNames = { "PRODUCT_TYPE_ID", "FROM_FACT_TYPE_ID" })) to this: @Table(name = FormattingBug.NAME, uniqueConstraints = @UniqueConstraint(columnNames = { "PRODUCT_TYPE_ID", "FROM_FACT_TYPE_ID" }) ) In Luna with the same formatting rules the extra space was NOT added. Our CheckStyle rules don't like the space before the bracket. Attached formatting rules and sample project. The formatter specifically has the 'before closing parenthesis' unset for annotations.