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 119287 - [60cat] format code wraps multiple local variable definition
Summary: [60cat] format code wraps multiple local variable definition
Status: RESOLVED DUPLICATE of bug 119002
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker with 1 vote (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-17 23:00 UTC by franci
Modified: 2007-11-05 13:44 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 franci 2007-10-17 23:00:57 UTC
[ BUILD # : 200710160000 ]
[ JDK VERSION : 1.6.0_02 ]

format code wraps multiple local variable definition

the following code:

public class NewClass {

    int i, j;

    public void test() {
        int a,b;
    }
}

formatting with build 200710160000:

public class NewClass {

    int i, j;

    public void test() {
        int a,
         b;
    }
}

formatting with build 200710051200:

public class NewClass {

    int i, j;

    public void test() {
        int a,b;
    }
}

I have used the the same configuration for both builds, and I look
for a marvelous option but I couldn't change the new behaviour.
Comment 1 franci 2007-10-17 23:07:24 UTC
sorry the wrong code for build 200710160000 is the following:

public class NewClass {

    int i, j;

    public void test() {
        int a,
         b;
    }
}
Comment 2 tboerkel 2007-10-18 06:43:27 UTC
I believe, this is a duplicate of issue #119002.
Comment 3 Jiri Prox 2007-10-18 07:30:07 UTC
Thomas is right, it's duplicate of issue 119002. It should be fixed now.
Thanks for your report anyway

*** This issue has been marked as a duplicate of 119002 ***