Summary: | [formatter] New lines in empty method body wrong behavior | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Nanda Firdausi <nanda.firdausi> | ||||||
Component: | Core | Assignee: | Frederic Fusier <frederic_fusier> | ||||||
Status: | VERIFIED FIXED | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | P3 | CC: | frederic_fusier, jarthana, nanda.firdausi, Olivier_Thomann, satyam.kandula | ||||||
Version: | 3.5.1 | Flags: | Olivier_Thomann:
review+
|
||||||
Target Milestone: | 3.6 RC1 | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Description
Nanda Firdausi
2010-01-05 08:13:25 EST
Created attachment 155321 [details]
The patch for the formatter
This is the patch for the problem.
why it takes so long to apply the patch to 3.6? It takes so long because we missed it. Thanks for reminding us to take a look. Could you please provide a regression test? Created attachment 167320 [details]
Additional tests
Added two tests to verify the proposed fix...
Comment on attachment 155321 [details]
The patch for the formatter
Patch is good for me
Olivier, OK for RC1? +1. Released for 3.6RC1. Regression tests added in: org.eclipse.jdt.core.tests.formatter.FormatterBugsTests#testBug298844a org.eclipse.jdt.core.tests.formatter.FormatterBugsTests#testBug298844b Verified for 3.6RC1 using build I20100513-150 Verified. |