Skip to content

Files

Latest commit

 

History

History
22 lines (12 loc) · 532 Bytes

SuperClone.md

File metadata and controls

22 lines (12 loc) · 532 Bytes

Pattern: Missing super.clone() call

Issue: -

Description

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

Reference: Object.clone().

Examples

To configure the check:

<module name="SuperClone"/>

Further Reading