Eclipse has an option to warn on assignment to a method\'s parameter (inside the method), as in:
public void doFoo(int a){ if (a<0){ a=0; // this
The confusing-part is the reason for the warning. If you reassign a parameter a new value in the method (probably conditional), then it is not clear, what a is. That's why it is seen as good style, to leave method-params unchanged.