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.
[release 3.1-20] [1160] I suggest to separate method parameters by ', ' (comma + space), not only by ',' E.g. foo(int a, int b) instead of foo(int a,int b)
I suggest to implement this enhacement by patch bellow and implement ", " behaviour in ConstructorElement, MethodElement and MethodChildrens classes. Index: java/src/org/netbeans/modules/java/wizard/MethodsChildren.java =================================================================== RCS file: /cvs/java/src/org/netbeans/modules/java/wizard/MethodsChildren.java,v retrieving revision 1.1 diff -r1.1 MethodsChildren.java 22c22 < private static ElementFormat METHOD_FORMAT = new ElementFormat("{n}({p,,,\",\"})"); --- > private static ElementFormat METHOD_FORMAT = new ElementFormat("{n}({p})"); Index: openide/src/org/openide/src/ConstructorElement.java =================================================================== RCS file: /cvs/openide/src/org/openide/src/ConstructorElement.java,v retrieving revision 1.30 diff -r1.30 ConstructorElement.java 27c27 < new ElementFormat("{m,,\" \"}{n}({a,,,\",\"}){e,\" throws \",}"); // NOI18N --- > new ElementFormat("{m,,\" \"}{n}({a}){e,\" throws \",}"); // NOI18N Index: openide/src/org/openide/src/MethodElement.java =================================================================== RCS file: /cvs/openide/src/org/openide/src/MethodElement.java,v retrieving revision 1.28 diff -r1.28 MethodElement.java 29c29 < new ElementFormat("{m,,\" \"}{r} {n}({a,,,\",\"}){e,\" throws \",}"); // NOI18N --- > new ElementFormat("{m,,\" \"}{r} {n}({a}){e,\" throws \",}"); // NOI18N
[010130_1] Verified
Resolved for 3.4.x or earlier, no new info since then -> closing.