Pattern: Too many nested for
blocks
Issue: -
Restricts nested for
blocks to a specified depth (default = 1).
To configure the check:
<module name="NestedForDepth"/>
To configure the check to allow nesting depth 3:
<module name="NestedForDepth">
<property name="max" value="3"/>
</module>