Bug 118140

Summary: [format] Autoformat java code snippets is not working correct
Product: [Eclipse Project] JDT Reporter: Hansgeorg Schwibbe <hansgeorg.schwibbe>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1.1   
Target Milestone: 3.2.2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Hansgeorg Schwibbe CLA 2005-11-26 13:17:03 EST
I tried to format the following code with the auto formatter:

/**
 * <pre>
 * I am am moving
 * </pre>
 * 
 */
public Test() {
		
}

And after 10 times of auto formatting the javadoc comment looks like:

/**
 * <pre>
 *           I am am moving
 * </pre>
 * 
 */
public Test() {

}
Comment 1 Olivier Thomann CLA 2005-11-28 20:54:54 EST

*** This bug has been marked as a duplicate of 99738 ***
Comment 2 Maxime Daniel CLA 2007-01-15 23:59:29 EST
Verified for 3.2.2 using build M20070112-1200.
Comment 3 Eric Jodet CLA 2007-02-06 02:25:27 EST
Verified for 3.3 M5 using build I20070205-0009