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

Rule:  UnusedCode3Checked automatically with code checker

Synopsis:Avoid unused private methods
Language:Java
Severity Level:3
Category:UnusedCode


Description:
Unused Private Method detects when a private method is declared but is unused.
public class Something {
 private void foo() {} // unused
}