dev build of 4.1 from Feb 7, JDK 5.0u1
there is a refactoring called change method
signature but it does not allow me to remove
existing method parameter.
It does allow you to remove the parameter. But only if it is not used.
This is as designed - if we allow to remove used parameters, we would
not know how to refactor the code to make it compilable. People would
then file issues that the refactoring breaks their code. We can
consider this as an enhancement request (probably if we display a
warning that a given parameter is used, removal could be fine).
Now I see.
Warning was added in:
46114:0fc688ea33f5 - Jun 12, 2007
*** Bug 53146 has been marked as a duplicate of this bug. ***