This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
[ BUILD # : 20101212 ] [ JDK VERSION : 1.6.22 ] When formatting a source with empty statement in "if" and "while" the formatter moves the semicolon to the next line, as in; while (!performLogon("")) {}; will be; while (!performLogon("")) { } ; after formatting, does not affect functionality but should probable be addressed anyway...
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/4908314e315c
Integrated into 'main-golden', will be available in build *201012140001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/4908314e315c User: Dusan Balek <dbalek@netbeans.org> Log: Issue #193310: Formatting misplaces semicolon when statement is empty - fixed.