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

Bug 233645

Summary: [formatter] Formatter does not format correctlty comment with \\u\\u
Product: [Eclipse Project] JDT Reporter: David Audel <david_audel>
Component: CoreAssignee: Mateusz Matela <mateusz.matela>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P5 CC: mateusz.matela
Version: 3.4   
Target Milestone: 4.5   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description David Audel CLA 2008-05-23 06:52:46 EDT
Related to bug 233228.

build I20080522-1800

1) create X.java
public class X {
        //handle the \\u\\u  case manually into comment
}
2) format
public class X {
	// handle the \\u\\u  case manually into comment
}
the extra space after \\u\\u is not removed

if there is only one \\u
public class X {
        //handle the \\u  case manually into comment
}

the extra space is removed
public class X {
	// handle the \\u case manually into comment
}
Comment 1 Mateusz Matela CLA 2016-01-08 18:11:28 EST
This problem no longer occurs after the formatter redesign.

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