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

See: https://errorprone.info/bugpattern/OptionalMapUnusedValue