
errorprone.bugpattern.RedundantOverride.md Maven / Gradle / Ivy
The newest version!
An override of a method that delegates its implementation to the super method is
redundant, and can be removed.
For example, the `equals` method in the following class implementation can be
deleted.
```java
class Test {
@Override
public boolean equals(Object o) {
return super.equals(o);
}
}
```
© 2015 - 2025 Weber Informatics LLC | Privacy Policy