| Summary: | Formatter inserts extra space in annotations | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Daniel Westerheide <daniel.westerheide> | ||||||
| Component: | Core | Assignee: | Mateusz Matela <mateusz.matela> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | jorgecara88, mateusz.matela | ||||||
| Version: | 4.5.1 | ||||||||
| Target Milestone: | 4.6 M3 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows 7 | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
Created attachment 257273 [details]
SSCCE
I've added a SSCCE.
*** Bug 481587 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 471203 *** |
Created attachment 257272 [details] Java Formatter Settings When having an Annotation inside an Annotation, an extra space is added after the closing paranthesis of the inner Annotation. Example: @Associates(type = LinkType.AGGREGATION, source = @Side(cardinality = "1"), target = @Side(cardinality = "0..*")) private List<Integer> list = new ArrayList<Integer>(); Will be formatted as @Associates(type = LinkType.AGGREGATION, source = @Side(cardinality = "1") , target = @Side(cardinality = "0..*") ) private List<Integer> list = new ArrayList<Integer>(); This was perfectly working in Eclipse Kepler (Kepler Service Release 2).