java: LawOfDemeter: remove as it can't cope with streams

This rule sees any use of the streams API as a violation.
This commit is contained in:
Paul Campbell 2018-07-03 07:39:14 +01:00
parent 37a440e683
commit b207e8eda4

View file

@ -171,7 +171,6 @@ http://pmd.sourceforge.net/ruleset/2.0.0 ">
<rule ref="category/java/design.xml/FinalFieldCouldBeStatic"/> <rule ref="category/java/design.xml/FinalFieldCouldBeStatic"/>
<rule ref="category/java/design.xml/GodClass"/> <rule ref="category/java/design.xml/GodClass"/>
<rule ref="category/java/design.xml/ImmutableField"/> <rule ref="category/java/design.xml/ImmutableField"/>
<rule ref="category/java/design.xml/LawOfDemeter"/><!-- Can this cope with Streams -->
<rule ref="category/java/design.xml/LogicInversion"/> <rule ref="category/java/design.xml/LogicInversion"/>
<rule ref="category/java/design.xml/NcssCount"/> <rule ref="category/java/design.xml/NcssCount"/>
<rule ref="category/java/design.xml/NPathComplexity"> <rule ref="category/java/design.xml/NPathComplexity">