Fork me on GitHub

CPD Results

The following document contains the results of PMD's CPD 5.3.5.

Duplications

File Line
org\settings4j\config\DOMConfigurator.java 352
org\settings4j\config\DOMConfigurator.java 740
            final NodeList children = connectorElement.getChildNodes();
            final int length = children.getLength();

            for (int loop = 0; loop < length; loop++) {
                final Node currentNode = children.item(loop);

                if (currentNode.getNodeType() == Node.ELEMENT_NODE) {
                    final Element currentElement = (Element) currentNode;
                    final String tagName = currentElement.getTagName();

                    if (tagName.equals(CONNECTOR_REF_TAG)) {
                        LOG.debug(LOG_DEBUG_CONNECTOR_REF, CONNECTOR_REF_TAG);
                    } else if (tagName.equals(CONTENT_RESOLVER_REF_TAG)) {
                        final Element contentResolverRef = (Element) currentNode;
                        final ContentResolver contentResolver = findContentResolverByReference(contentResolverRef);