Bug 83078

Summary: Auto formating multiple classes has errors
Product: [Eclipse Project] JDT Reporter: Hansgeorg Schwibbe <hansgeorg.schwibbe>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0.1   
Target Milestone: 3.1 M5   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Hansgeorg Schwibbe CLA 2005-01-18 06:16:09 EST
I tried to auto format the following example:
/**
 * Class description.
 */
public class Test {
}

/**
 * Class description.
 */
class Example {
}

And a new empty line between the second class and the javadoc of the second
class appears. It looks like:
/**
 * Class description.
 */
public class Test {
}

/**
 * Class description.
 */

class Example {
}
Comment 1 Olivier Thomann CLA 2005-01-20 16:03:26 EST
Fixed and released in HEAD.
Regression test added in FormatterRegressionTests.test538.
Comment 2 David Audel CLA 2005-02-16 12:24:32 EST
Verified in I20050215-2300