fix: Reflection missing fields (#590)

pull/592/head
BigXin0109 2 years ago committed by GitHub
parent 54fb0762c7
commit 8d1e6c21bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -94,9 +94,7 @@ public class ReflectUtil {
} else {
int length = allFields.length;
allFields = Arrays.copyOf(allFields, length + declaredFields.length);
for (int i = 1; i < declaredFields.length; i++) {
allFields[length + i] = declaredFields[i - 1];
}
System.arraycopy(declaredFields, 0, allFields, length, declaredFields.length);
}
searchType = withSuperClassFields ? searchType.getSuperclass() : null;
}

Loading…
Cancel
Save