Query module AvoidCloneOverride

name
Overriding definition of clone()
description
Overriding ‘Object.clone’ is bad practice. Copying an object using the ‘Cloneable interface’ and ‘Object.clone’ is error-prone.
kind
problem
problem.severity
recommendation
precision
medium
id
java/override-of-clone-method
tags
reliability

Imports

java

Provides all default Java QL imports.

Classes