From 550bc4c8be53c9a193e6ab8393c42edf85775da4 Mon Sep 17 00:00:00 2001 From: Tom Copeland Date: Thu, 8 Sep 2005 23:57:52 +0000 Subject: [PATCH] tweak git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3833 51baf565-9d33-0410-a72c-fc3788e3496d --- pmd/src/net/sourceforge/pmd/jaxen/AttributeAxisIterator.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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;