Bug 83078 - Auto formating multiple classes has errors
Summary: Auto formating multiple classes has errors
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.1 M5   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-18 06:16 EST by Hansgeorg Schwibbe CLA
Modified: 2005-02-16 12:24 EST (History)
0 users

See Also:


Attachments

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