This method appears to only call its superclass implementation, while directly passing its parameters to the super method. This method can be removed, as it provides no additional value.
@Override
public String getName() {
return super.getName();
}
This getName
method is redundant, since the same behavior would occur even without explicitly overriding the parent method.
Remove the redundant overriding method. If this was not intended, and there is further logic to be implemented, consider marking this method with a TODO
comment to ensure it is not missed in future work.
@Override
public String getName() {
// TODO: this method requires extra logic to be implemented.
return super.getName();
}