Parameter is Not Used (PNU)

Description:

PNU detects if the parameter is no longer used by the method body. Note that unlike C++ it is not possible to omit a formal parameter name preserving method signature in Java. It is often the case where a method overriding a base class method must declare a parameter it does not actually need. Such situations are detected and does not produce warning message.

Example:

   public String getName(boolean upperCase) {
       return name;
   }