Skip to main content Link Search Menu Expand Document (external link)

NonEmptyMono

WARNING

Simplification

View source code on GitHub

Summary

Avoid vacuous operations on known non-empty Monos

Suppression

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

Disable this pattern completely by adding -Xep:NonEmptyMono:OFF as compiler argument. Learn more.


Copyright © 2017-2023 Picnic Technologies BV