BooleanParameter
Use parameter comments to document ambiguous literals

Severity
SUGGESTION

The problem

Providing parameter comments for boolean literals has some advantages:

Suppression

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