All Downloads are FREE. Search and download functionalities are using the official Maven repository.

rules.SimplifyBooleanExpression.md Maven / Gradle / Ivy


Checks for overly complicated boolean expressions. Checks for code like `b == true`, `b || true`, `!false`, etc.

Valid:
````
if (b) {}
if (true) {}
````

Invalid:
````
if (b == true) {}
if (b || true) {}
if (!false) {}
````




© 2015 - 2024 Weber Informatics LLC | Privacy Policy