Code Correctness: Class Does Not Implement Cloneable
From OWASP
This is a Vulnerability. To view all vulnerabilities, please see the Vulnerability Category page.
Abstract
This class implements a clone() method but does not implement Cloneable.
Description
It appears that the programmer intended for this class to implement the Cloneable interface because it implements a method named clone(). However, the class does not implement the Cloneable interface and the clone() method will not behave correctly.
Examples
Calling clone() for this class will result in a CloneNotSupportedException.
public class Kibitzer {
public Object clone() throws CloneNotSupportedException {
...
}
}

