diff --git a/src/main/java/com/alibaba/fastjson/util/TypeUtils.java b/src/main/java/com/alibaba/fastjson/util/TypeUtils.java index 0fb8964193..9b245d6b29 100644 --- a/src/main/java/com/alibaba/fastjson/util/TypeUtils.java +++ b/src/main/java/com/alibaba/fastjson/util/TypeUtils.java @@ -2139,7 +2139,7 @@ public static List computeGetters(Class clazz, // annotation, fieldAnnotation, label); fieldInfoMap.put(propertyName, fieldInfo); } - if (methodName.startsWith("is")) { + else if (methodName.startsWith("is")) { if (methodName.length() < 3) { continue; }