Bug 84504

Summary: [Format] Extra empty line before class in default package when imports are specified
Product: [Eclipse Project] JDT Reporter: Olivier Thomann <Olivier_Thomann>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: 3.1 M5   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Olivier Thomann CLA 2005-02-04 21:50:46 EST
Using latest, the formatter inserts an empty line at the beginning of the
compilation unit when the class is in the default package and the class has some
imports.
The option "Insert new line before import" should not add the new line if there
is no imports.
Comment 1 Olivier Thomann CLA 2005-02-04 23:27:28 EST
Fixed and released in HEAD.
Regression test added in FormatterRegressionTests.test542
Comment 2 David Audel CLA 2005-02-16 12:55:34 EST
Verified in I20050215-2300