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

184 B

Prevent the placement of variables or fields after methods in an expression.

Valid:

if (property && getProperty()) {}

Invalid:

if (getProperty() && property) {}