mirror of
https://github.com/TheAlgorithms/Java.git
synced 2026-03-13 08:40:43 +08:00
style: enabled InnerAssignment in checkstyle (#5162)
* style: enabled InnerAssignment in checkstyle * Refactor code formatting in KnapsackMemoization.java and UnionFind.java * style: remove redundant blank line * style: mark `includeCurrentItem` and `excludeCurrentItem` as `final` * style: remove `KnapsackMemoization` from `pmd-exclude.properties` * style: use `final` --------- Co-authored-by: Piotr Idzik <65706193+vil02@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
f8e62fbb90
commit
0f42e995a4
@@ -164,7 +164,7 @@
|
||||
<module name="EqualsHashCode"/>
|
||||
<!-- TODO <module name="HiddenField"/> -->
|
||||
<module name="IllegalInstantiation"/>
|
||||
<!-- TODO <module name="InnerAssignment"/> -->
|
||||
<module name="InnerAssignment"/>
|
||||
<!-- TODO <module name="MagicNumber"/> -->
|
||||
<!-- TODO <module name="MissingSwitchDefault"/> -->
|
||||
<!-- TODO <module name="MultipleVariableDeclarations"/> -->
|
||||
|
||||
Reference in New Issue
Block a user