Bug 37609

Summary: formatter incorrect with anonymous classes
Product: [Eclipse Project] JDT Reporter: Adam Kiezun <akiezun>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 2.1   
Target Milestone: 3.0 M1   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Adam Kiezun CLA 2003-05-14 12:30:48 EDT
20030506
format this
class F{
	public void foo() {
		F foo= new F() {
			public void bar() {
				// TODO Auto-generated method stub
				return;
			}
		}; 
	}
}

you get
public class F {
	public void foo() {
		F foo= new F() {
			public void bar() {
					// TODO Auto-generated method stub
	return;
			}
		};
	}
}
(the return statement is misaligned)
Comment 1 Olivier Thomann CLA 2003-05-20 11:22:25 EDT
Duplicate of bug 3181

*** This bug has been marked as a duplicate of 3181 ***