Deeply Nested If...Then
<p>This code (mangled) is being flagged by PMD for being too deeply nested.  I personally have always written code this way in any language I've coded in - especially large database-driven for-loops.</p>

<p>Is this coding style really frowned-upon?  I find it to be the most maintainable and cleanest.</p>

<pre><code>    for (MyList MyRegistry : listJSP) {
        if (meta.containsKey(MyRegistry.getFieldName()) &amp;&amp; MyRegistry.getOrderType().equals(orderType)) {

            String CustomerInput = meta.get(MyRegistry.getFieldName())[0];
            String jspFieldName = MyRegistry.getFieldName();

            if (MyRegistry.getErrorsCheck()) {
                mapErrors = valUtil.adTextContainsErrors(CustomerInput, cms.getRegex("VALIDATION"));
                if (mapErrors.containsKey(Boolean.TRUE)) {
                    mapValidationErrors.put(jspFieldName, mapErrors.get(Boolean.parseBoolean("true")));
                    log.info("Errors " + "{}: ", CustomerInput);
                }
            }

            List&lt;JSPFieldValidation&gt; jSPFieldValidation = cms.getJSPFieldValidations(orderType, MyRegistry.getFieldName());
            for (JSPFieldValidation jspf : jSPFieldValidation) {

                String valRule = jspf.getValidationRule();

                if (valRule.equals("REQUIRED")) {
                    if (isEmpty(CustomerInput)) {
                        mapValidationErrors.put(orderType, orderType);
                        log.info(CustomerInput + "{}: ", valRule);
                    }
                }
                else {
                    Pattern p = cms.getRegex(valRule);
                    if (p != null) {
                        if (!isValid(CustomerInput, p)) {
                            mapValidationErrors.put(orderType, orderType);
                            log.info(CustomerInput + "{}", valRule);
                        }
                    }
                }
            }
        }
    }
</code></pre>
