CPD Results

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

Duplications

FileLine
net/sf/xolite/dom/DomUtils.java141
net/sf/xolite/dom/DomUtils.java180
        Node nod = startNode;
        while (nod != null) {
            if (nod.getNodeType() == Node.ELEMENT_NODE) {
                NamedNodeMap nnm = nod.getAttributes();
                int len = nnm.getLength();
                for (int i = 0; i < len; i++) {
                    Node attr = nnm.item(i);
                    String attrName = attr.getNodeName();
                    if (attrName.startsWith("xmlns")) {
                        if (attrName.length() == 5) {
                            if (uri.equals(attr.getNodeValue())) return "";