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.

Bug 119002 - [60cat] Reformatting inserts line breaks in variable declaration
Summary: [60cat] Reformatting inserts line breaks in variable declaration
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P2 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords:
: 119287 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-10-16 07:33 UTC by tboerkel
Modified: 2007-10-24 07:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tboerkel 2007-10-16 07:33:31 UTC
[ BUILD # : 200710071200 ]
[ JDK VERSION : 1.6.0_03 ]

Reformatting the source code by default changes this:
    String line, group, sysConf, value, label, desc;

to this:
    String line,
     group,
     sysConf,
     value,
     label,
     desc;

This is not acceptable and I have found no way to disable that in the
formatting options.
Comment 1 Dusan Balek 2007-10-17 09:37:53 UTC
Fixed.

Checking in Reformatter.java;
/cvs/java/source/src/org/netbeans/modules/java/source/save/Reformatter.java,v  <--  Reformatter.java
new revision: 1.21; previous revision: 1.20
done
Comment 2 Jiri Prox 2007-10-18 07:29:59 UTC
*** Issue 119287 has been marked as a duplicate of this issue. ***
Comment 3 tboerkel 2007-10-24 07:39:21 UTC
This still happens in Beta 2.
Comment 4 Dusan Balek 2007-10-24 07:57:55 UTC
This issue was fixed AFTER beta 2 - see target milestone.