diff --git a/pmd/src/net/sourceforge/pmd/jaxen/AttributeAxisIterator.java b/pmd/src/net/sourceforge/pmd/jaxen/AttributeAxisIterator.java index 974a014651..e87288edda 100644 --- a/pmd/src/net/sourceforge/pmd/jaxen/AttributeAxisIterator.java +++ b/pmd/src/net/sourceforge/pmd/jaxen/AttributeAxisIterator.java @@ -70,9 +70,7 @@ public class AttributeAxisIterator implements Iterator { Method method = methods[position]; try { Class returnType = method.getReturnType(); - if (Boolean.TYPE == returnType - || String.class == returnType - || Integer.TYPE == returnType) { + if (Boolean.TYPE == returnType || String.class == returnType || Integer.TYPE == returnType) { Attribute attribute = getAttribute(node, method); if (attribute != null) { return attribute;