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

18 lines
128 B
Markdown
Raw Normal View History

Avoid unnecessary blocks.
Valid:
````
if (isDebug()) {
// ...
}
````
Invalid:
````
// if (isDebug())
{
// ...
}
````