Summary: | [formatter] Formatter fails to format enum with extra semicolon and body | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Brian Atkinson <nairb774> | ||||
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | jarthana, Olivier_Thomann | ||||
Version: | 3.7 | ||||||
Target Milestone: | 3.7 M4 | ||||||
Hardware: | PC | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Brian Atkinson
2010-11-08 16:06:27 EST
I'll take a look. Created attachment 182716 [details]
Proposed fix + regression tests
We need to check for semi-colons before the first member.
Released for 3.7M4. Regression tests added in: org.eclipse.jdt.core.tests.formatter.FormatterRegressionTests#test730 org.eclipse.jdt.core.tests.formatter.FormatterRegressionTests#test731 org.eclipse.jdt.core.tests.formatter.FormatterRegressionTests#test732 org.eclipse.jdt.core.tests.formatter.FormatterRegressionTests#test733 Verified for 3.7M4 using build I20101206-1800. |