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

Rule:  Finalizer1Checked automatically with code checker

Synopsis:Avoid empty finalize methods
Language:Java
Severity Level:3
Category:Finalizer


Description:
If the finalize() method is empty, then it does not need to exist.
public class Foo {
   protected void finalize() {}
}