Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 474075

Summary: JDT formatter CHANGE the java code
Product: [Eclipse Project] JDT Reporter: sunx well <sunjava5>
Component: CoreAssignee: Mateusz Matela <mateusz.matela>
Status: CLOSED DUPLICATE QA Contact:
Severity: blocker    
Priority: P3 CC: mateusz.matela
Version: 4.5   
Target Milestone: 4.5.1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description sunx well CLA 2015-07-31 23:41:07 EDT
before:
---------------------------------------
public class A {
    void fn(char c) {
        switch (c) {
        case '1':
            // \u0031
            System.out.println("1");
            break;
        default:
            System.out.println(c);
            break;
        }
    }
}

after
----------------------------------------
public class A {
    void fn(char c) {
        switch (c) {
        case '1':
            // \u0031 System.out.println("1");
            break;
        default:
            System.out.println(c);
            break;
        }
    }
}
Comment 1 Mateusz Matela CLA 2015-08-02 18:54:13 EDT

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