UnnecessaryCheckNotNull
This null check is unnecessary; the expression can never be null

Severity
ERROR

Alternate names: PreconditionsCheckNotNull, PreconditionsCheckNotNullPrimitive

Suppression

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