Summary: | [Formatter] Redundant space in multidimensional array literals | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Alexander Staubo <zaphod> | ||||
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | ||||||
Version: | 3.1 | ||||||
Target Milestone: | 3.1 M7 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Alexander Staubo
2005-04-04 15:19:04 EDT
Created attachment 19520 [details]
Formatter preferences
The problem comes from the fact that the option to insert a space before the opening brace in the array initializer is colliding with the option that inserts a space after opening brace in array initializer. They collide for the inner array initializer. Fixed and released in HEAD. Regression tests added in FormatterRegressionTests.test572/573. That was quick. Thank you. Let me know if you find any problems once you use a build that contains this fix. Verified for 3.1 M7 using build I20050512-2035 + jdt.core HEAD. |