CollectorShouldNotUseState
Collector.of() should not use state

Severity
WARNING

Suppression

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