Summary: | wrong indentation on anonymous inner class method | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Eric Seynaeve <eseynaeve> |
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> |
Status: | RESOLVED WORKSFORME | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.0 | ||
Target Milestone: | 3.0 M5 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Eric Seynaeve
2003-10-23 04:36:28 EDT
Ahum, I had the new code formatter disabled. My bad. After enabling it and reformatting the code, the result is the following: public void testCompanyConstructor() { TestUtils.testName(ACCEPTABLE_NAMES, UNACCEPTABLE_NAMES, new TestUtils.TestNameInterface() { public void doTest(String name) throws Exception { Company c = new Company(name); } }, MalformedNameException.class); } Now I can only nitpick that the larger 'gap' looks a bit weird. I guess that is more a matter of taste ;-) I was about to ask you if you enabled the new formatter. Ok to close? Go ahead and close. It looks solved for me. Thanks and keep up the good work ;-) Close as WORKSFORME. |