1
0
mirror of synced 2026-05-22 13:23:17 +00:00

Simplify boolean expression

Simplify boolean expression of the form `if (b == true)` to instead
just use the form `if (b)`.

Issue gh-8945
This commit is contained in:
Phillip Webb
2020-07-27 20:16:05 -07:00
committed by Rob Winch
parent db55ef4b3b
commit b69825d925
2 changed files with 1 additions and 2 deletions
@@ -3,7 +3,6 @@
"-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN"
"https://checkstyle.org/dtds/suppressions_1_2.dtd">
<suppressions>
<suppress files=".*" checks="SimplifyBooleanExpression" />
<suppress files=".*" checks="SimplifyBooleanReturn" />
<suppress files=".*" checks="SpringAvoidStaticImport" />
<suppress files=".*" checks="SpringCatch" />