Simplify boolean returns
Simplify boolean returns of the form:
if (b) {
return true;
} else {
return false;
}
to:
return b;
Issue gh-8945
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
"-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN"
|
||||
"https://checkstyle.org/dtds/suppressions_1_2.dtd">
|
||||
<suppressions>
|
||||
<suppress files=".*" checks="SimplifyBooleanReturn" />
|
||||
<suppress files=".*" checks="SpringAvoidStaticImport" />
|
||||
<suppress files=".*" checks="SpringCatch" />
|
||||
<suppress files=".*" checks="SpringHeader" />
|
||||
|
||||
Reference in New Issue
Block a user