Bug 49763 - New formatter: Problem with empty statement in while
Summary: New formatter: Problem with empty statement in while
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0 M7   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-09 05:53 EST by Martin Aeschlimann CLA
Modified: 2004-02-11 13:14 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 Martin Aeschlimann CLA 2004-01-09 05:53:47 EST
20030109

Turn off 'put empty statements on new line'.
Format
while(true);
->
while(true)
   ;

shouldn't it result in 'while(true);' ?
Comment 1 Olivier Thomann CLA 2004-01-09 10:56:59 EST
Yes it should.
I am working on it.
Comment 2 Olivier Thomann CLA 2004-01-09 11:47:39 EST
Fixed and released in HEAD.
Regression test added.
Comment 3 Frederic Fusier CLA 2004-02-11 13:14:25 EST
Verified for 3.0-M7 with build I200402102000.