mirror of https://gitee.com/stylefeng/roses
【7.1.6】修复问题
parent
71de4c9ef2
commit
40d634556b
|
@ -303,9 +303,11 @@ public class ClassReflectUtil {
|
|||
FieldMetadata fieldMetadata = genericFieldAndNameMap.get(fieldActualTypeArgument.getTypeName());
|
||||
if (ObjectUtil.isNotEmpty(fieldMetadata)) {
|
||||
FieldMetadata metadata = fieldAndNameMap.get(field.getName());
|
||||
Set<FieldMetadata> metadataSet = new LinkedHashSet<>();
|
||||
metadataSet.add(fieldMetadata);
|
||||
metadata.setGenericFieldMetadata(metadataSet);
|
||||
if (ObjectUtil.isNotEmpty(metadata)) {
|
||||
Set<FieldMetadata> metadataSet = new LinkedHashSet<>();
|
||||
metadataSet.add(fieldMetadata);
|
||||
metadata.setGenericFieldMetadata(metadataSet);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue