Skip to content

Latest commit

 

History

History
22 lines (12 loc) · 571 Bytes

SuperFinalize.md

File metadata and controls

22 lines (12 loc) · 571 Bytes

Pattern: Missing super.finalize() call

Issue: -

Description

Checks that an overriding finalize() method invokes super.finalize(). Does not check native methods, as they have no possible java defined implementation.

Reference: Use Finalization Only When You Must.

Examples

To configure the check:

<module name="SuperFinalize"/>

Further Reading