forked from phoedos/pmd
tweak
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3833 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user