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.
Invoke Refactor -> Change Method Parameters... on: void foo(int b, int c, int a) { ... } and move parameter a to 1st position. In result the space after "int a," is missing: void foo(int a,int b, int c) { ... }
A source generator bug. In case of 2 params I get void m( int a, int b) {} after Change Method Parameters on void m(int b, int a) {} BTW there is already a test of swapping 2 params org.netbeans.api.java.source.gen.MethodParametersTest.testSwap that uses wrong golden data to pass. Reassigning.
I believe this is effectively the same as bug #159944. *** This bug has been marked as a duplicate of bug 159944 ***