messages.addErrorText(errorMessage + " : " + e.getMessage());
LOG.error(errorMessage, e);
return new PmdRuleset();
}
}
<BUG>private List<Element> getChildren(Element parent, String childName, Namespace namespace) {
</BUG>
if (namespace == null) {
return (List<Element>) parent.getChildren(childName);
} else {

messages.addErrorText(errorMessage + " : " + e.getMessage());
LOG.error(errorMessage, e);
return new PmdRuleset();
}
}
private List<Element> getChildren(Element parent, String childName, @Nullable Namespace namespace) {
if (namespace == null) {
return (List<Element>) parent.getChildren(childName);
} else {
