This variable is of boxed type, but equivalent semantics can be achieved using the corresponding primitive type, which avoids the cost of constructing an unnecessary object.
Suppress false positives by adding the suppression annotation @SuppressWarnings("UnnecessaryBoxedVariable")
to the enclosing element.