Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 233645 - [formatter] Formatter does not format correctlty comment with \\u\\u
Summary: [formatter] Formatter does not format correctlty comment with \\u\\u
Status: CLOSED DUPLICATE of bug 303519
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P5 normal (vote)
Target Milestone: 4.5   Edit
Assignee: Mateusz Matela CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-23 06:52 EDT by David Audel CLA
Modified: 2016-01-08 18:11 EST (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 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 ***