UnusedFormalParameter

Avoid passing parameters to methods or constructors and then not using those parameters.

This rule is defined by the following Java class: net.sourceforge.pmd.rules.UnusedFormalParameterRule

Example:

                

public class Foo {
 private void bar(String howdy) {
  // howdy is not used
 }