kemitix-checkstyle-ruleset/src/builder/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) {}