Unused parameters are misleading. Whatever the values passed to such parameters, the behavior will be the same.
Noncompliant Code Example
void doSomething(Integer a, Integer b) { // "b" is unused
compute(a);
}
Compliant Solution
void doSomething(Integer a) {
compute(a);
}