ObjectEqualsForPrimitives
Avoid unnecessary boxing by using == (or !=) when comparing primitive types.
- Severity
- WARNING
- Tags
- Performance
Suppression
Suppress false positives by adding the suppression annotation @SuppressWarnings("ObjectEqualsForPrimitives") to the enclosing element.