EqualsReference
== must be used in equals method to check equality to itself or an infinite loop will occur.

Severity
ERROR

The problem

.equals() to the same object will result in infinite recursion

Suppression

Suppress false positives by adding the suppression annotation @SuppressWarnings("EqualsReference") to the enclosing element.