polish
This commit is contained in:
parent
402f0924da
commit
64ded0484e
|
|
@ -56,7 +56,7 @@ public final class MappingConverter implements GenericConverter {
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean isCopyByReference(TypeDescriptor sourceType, TypeDescriptor targetType) {
|
private boolean isCopyByReference(TypeDescriptor sourceType, TypeDescriptor targetType) {
|
||||||
if (BeanUtils.isSimpleValueType(targetType.getType()) || Enum.class.isAssignableFrom(targetType.getType())) {
|
if (BeanUtils.isSimpleValueType(targetType.getType())) {
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue