Community
Participate
Working Groups
On a private recursive method 'recursiveMethod', removing a parameter 'xxx' which is only used for the the recursive call gives the message "Removed parameter 'xxx' is used in method 'recursiveMethod' declared in type ..." This is true, but should not cause a problem, this parameter can be safely removed. Eclipse SDK Version: 3.2.0 Build id: I20060331-2000
Please provide steps to reproduce and reopen.
To reproduce: public class Class137175 { private void recursiveMethod(int a, int b) { System.out.println(a); if (a > 0) recursiveMethod(a - 1, b); } } Use CMS to remove parameter b to change the method signature to: private void recursiveMethod(int a) This will give the warning.
Moving to UI
*** This bug has been marked as a duplicate of bug 268665 ***