kemitix-checkstyle-ruleset/builder/src/main/resources/rules/AvoidNestedBlocks.md

128 B

Avoid unnecessary blocks.

Valid:

if (isDebug()) {
    // ...
}

Invalid:

// if (isDebug())
{
    // ...
}