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

Category: Finalizer

Synopsis:These rules deal with different problems that can occur with finalizers.


Description:
These rules deal with different problems that can occur with finalizers.

Coding Rules

NameCheckedSynopsis
Finalizer1 Checked automatically with code checker Avoid empty finalize methods
Finalizer2 Checked automatically with code checker Finalize should do something besides just calling super.finalize()
Finalizer3 Checked automatically with code checker Finalize methods should not be overloaded
Finalizer4 Checked automatically with code checker Last statement in finalize method should be a call to super.finalize()
Finalizer5 Checked automatically with code checker If you override finalize(), make it protected
Finalizer6 Checked automatically with code checker Avoid calling finalize() explicitly
Finalizer100 Checked automatically with code checker Don't use finalizers.