This commit is contained in:
Keith Donald 2009-10-15 00:38:18 +00:00
parent 402f0924da
commit 64ded0484e
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ public final class MappingConverter implements GenericConverter {
}
private boolean isCopyByReference(TypeDescriptor sourceType, TypeDescriptor targetType) {
if (BeanUtils.isSimpleValueType(targetType.getType()) || Enum.class.isAssignableFrom(targetType.getType())) {
if (BeanUtils.isSimpleValueType(targetType.getType())) {
return true;
} else {
return false;