Bug 37609 - formatter incorrect with anonymous classes
Summary: formatter incorrect with anonymous classes
Status: RESOLVED DUPLICATE of bug 3181
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.0 M1   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-14 12:30 EDT by Adam Kiezun CLA
Modified: 2004-05-19 10:34 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***