Merge remote-tracking branch 'upstream/dev' into dev

This commit is contained in:
chenqi 2021-08-23 23:12:30 +08:00
commit 1b7661c6db
1 changed files with 1 additions and 2 deletions

View File

@ -145,8 +145,7 @@ public class JavaClassUtil {
JavaClassValidateUtil.isIgnoreFieldTypes(subTypeName)) {
continue;
}
if (fieldName.startsWith("is") && ("boolean".equals(subTypeName)
|| DocGlobalConstants.JAVA_BOOLEAN.equals(subTypeName))) {
if (fieldName.startsWith("is") && ("boolean".equals(subTypeName))) {
fieldName = StringUtil.firstToLowerCase(fieldName.substring(2));
}