TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
 
TIOBE - Java Coding Standard
Search

Rule:  Basic21Checked automatically with code checker

Synopsis:Overriding method merely calls super
Language:Java
Severity Level:2
Category:Basic


Description:
The overriding method merely calls the same method defined in a superclass
public String foo() {
    return super.foo();  //Why bother overriding?
}