MissingBraces
The Google Java Style Guide requires braces to be used with if, else, for, do and while statements, even when the body is empty or contains only a single statement.

Severity
SUGGESTION
Tags
Style

Suppression

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