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());
|
FieldMetadata fieldMetadata = genericFieldAndNameMap.get(fieldActualTypeArgument.getTypeName());
|
||||||
if (ObjectUtil.isNotEmpty(fieldMetadata)) {
|
if (ObjectUtil.isNotEmpty(fieldMetadata)) {
|
||||||
FieldMetadata metadata = fieldAndNameMap.get(field.getName());
|
FieldMetadata metadata = fieldAndNameMap.get(field.getName());
|
||||||
Set<FieldMetadata> metadataSet = new LinkedHashSet<>();
|
if (ObjectUtil.isNotEmpty(metadata)) {
|
||||||
metadataSet.add(fieldMetadata);
|
Set<FieldMetadata> metadataSet = new LinkedHashSet<>();
|
||||||
metadata.setGenericFieldMetadata(metadataSet);
|
metadataSet.add(fieldMetadata);
|
||||||
|
metadata.setGenericFieldMetadata(metadataSet);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue