return (List<Element>) parent.getChildren(childName);
} else {
return (List<Element>) parent.getChildren(childName, namespace);
}
}
<BUG>private void parsePmdProperties(Element eltRule, PmdRule pmdRule, Namespace namespace) {
</BUG>
for (Element eltProperties : getChildren(eltRule, "properties", namespace)) {
for (Element eltProperty : getChildren(eltProperties, "property", namespace)) {
pmdRule.addProperty(new PmdProperty(eltProperty.getAttributeValue("name"), eltProperty.getAttributeValue("value")));

return (List<Element>) parent.getChildren(childName);
} else {
return (List<Element>) parent.getChildren(childName, namespace);
}
}
private void parsePmdProperties(Element eltRule, PmdRule pmdRule, @Nullable Namespace namespace) {
for (Element eltProperties : getChildren(eltRule, "properties", namespace)) {
for (Element eltProperty : getChildren(eltProperties, "property", namespace)) {
pmdRule.addProperty(new PmdProperty(eltProperty.getAttributeValue("name"), eltProperty.getAttributeValue("value")));
