fix gitee #I1JI5W

This commit is contained in:
oppofind 2020-06-04 23:06:09 +08:00
parent 6395eaf17e
commit d7e5a2e5e1
1 changed files with 1 additions and 2 deletions

View File

@ -61,7 +61,7 @@ public class JavaClassUtil {
return fieldList; return fieldList;
} else if ("Object".equals(cls1.getSimpleName()) || "Timestamp".equals(cls1.getSimpleName()) || } else if ("Object".equals(cls1.getSimpleName()) || "Timestamp".equals(cls1.getSimpleName()) ||
"Date".equals(cls1.getSimpleName()) || "Locale".equals(cls1.getSimpleName()) "Date".equals(cls1.getSimpleName()) || "Locale".equals(cls1.getSimpleName())
|| "ClassLoader".equals(cls1.getSimpleName())) { || "ClassLoader".equals(cls1.getSimpleName()) || JavaClassValidateUtil.isMap(cls1.getFullyQualifiedName())) {
return fieldList; return fieldList;
} else { } else {
String className = cls1.getFullyQualifiedName(); String className = cls1.getFullyQualifiedName();
@ -98,7 +98,6 @@ public class JavaClassUtil {
JavaClass javaClass = (JavaClass) type; JavaClass javaClass = (JavaClass) type;
fieldList.addAll(getFields(javaClass, counter, addedFields)); fieldList.addAll(getFields(javaClass, counter, addedFields));
} }
} }
List<DocJavaField> docJavaFields = new ArrayList<>(); List<DocJavaField> docJavaFields = new ArrayList<>();
for (JavaField javaField : cls1.getFields()) { for (JavaField javaField : cls1.getFields()) {