OptionalMapUnusedValue
Optional.ifPresent is preferred over Optional.map when the return value is unused

Severity
WARNING
Has Fix?

Suppression

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