1
0
mirror of synced 2026-05-22 21:33:16 +00:00

Reduce the number of nested if statements

Refactor `HeadersBeanDefinitionParser` and `AclImpl` to reduce the
number of nested if statements. A few extracted methods are now used
to hopefully improve readability.

Issue gh-8945
This commit is contained in:
Phillip Webb
2020-07-27 10:23:31 -07:00
committed by Rob Winch
parent 0b4b22f28f
commit 218480fb7c
3 changed files with 87 additions and 98 deletions
@@ -3,7 +3,6 @@
"-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN"
"https://checkstyle.org/dtds/suppressions_1_2.dtd">
<suppressions>
<suppress files=".*" checks="NestedIfDepth" />
<suppress files=".*" checks="NewlineAtEndOfFile" />
<suppress files=".*" checks="NonEmptyAtclauseDescription" />
<suppress files=".*" checks="NoWhitespaceBefore" />