The following document contains the results of PMD's CPD 4.3.
| File | Line |
|---|---|
| net/sf/xolite/dom/DomUtils.java | 141 |
| net/sf/xolite/dom/DomUtils.java | 180 |
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 ""; | |