Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 474075 - JDT formatter CHANGE the java code
Summary: JDT formatter CHANGE the java code
Status: CLOSED DUPLICATE of bug 471090
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 4.5   Edit
Hardware: PC Windows 7
: P3 blocker (vote)
Target Milestone: 4.5.1   Edit
Assignee: Mateusz Matela CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-31 23:41 EDT by sunx well CLA
Modified: 2015-08-17 14:43 EDT (History)
1 user (show)

See Also:


Attachments

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