HR bugfix - #187264 - Formatter moves bracket inside the comment.

Petr Pisl <[email protected]> Tue, 08 Jun 2010 16:55:18 +0200
Newsgroups gmane.comp.java.netbeans.reviewers
Message-ID <[email protected]>
http://netbeans.org/bugzilla/show_bug.cgi?id=187264

Description: The formatter can make uncompilable code in certain set up. 
If the old code contains { on the new line and user want to place them 
on the same line as is if, for or while expression and this line 
contains line comment, then the { is moved after the line comment.

Impact: After formatting the code doesn't have to be compilable any more.

Risk assessment: The fix doesn't influence the rest of formatter because 
cover only the mentioned case.

http://hg.netbeans.org/web-main/rev/33196f945b79

Review by Radek Matous.

Thanks for review.