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

Rule:  Basic19Checked automatically with code checker

Synopsis:Unnecessary final modifier in final class
Language:Java
Severity Level:5
Category:Basic


Description:
When a class has the final modifier, all the methods are automatically final.
public final class Foo {
    // This final modifier is not necessary, since the class is final
    // and thus, all methods are final
    private final void foo() {
    }
}