This method contains a self assignment of a local variable, and there is a field with an identical name. Assignment appears to have been ; e.g.

  int foo;
  public void setFoo(int foo) {
    foo = foo;
  }
The assignment is useless. Did you mean to assign to the field instead?

This rule is deprecated, use {rule:squid:S1226} instead.