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

Avoid inner assignments

Replace code of the form `a = b =c` with distinct statements. Although
this results in more lines of code, they are usually easier to
understand.

Issue gh-8945
This commit is contained in:
Phillip Webb
2020-08-05 20:56:42 -07:00
committed by Rob Winch
parent 9e08b51ed3
commit 418c3d6808
5 changed files with 11 additions and 7 deletions
@@ -3,7 +3,6 @@
"-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN"
"https://checkstyle.org/dtds/suppressions_1_2.dtd">
<suppressions>
<suppress files=".*" checks="InnerAssignment" />
<suppress files=".*" checks="InnerTypeLast" />
<suppress files=".*" checks="InterfaceIsType" />
<suppress files=".*" checks="JavadocMethod" />