NumericEquality
Numeric comparison using reference equality instead of value equality

Severity
ERROR

The problem

Numbers are compared for reference equality/inequality using == or != instead of for value equality using .equals()

Suppression

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