Favor convertValue(Object, TypeDescriptor) where possible and TypedValue(Object); check with Andy on Selection and Projection TypedValue usage
This commit is contained in:
@@ -87,5 +87,10 @@ class BeanFactoryTypeConverter implements TypeConverter, BeanFactoryAware {
|
||||
}
|
||||
return delegate.convertIfNecessary(value, targetType.getType());
|
||||
}
|
||||
|
||||
public Object convertValue(Object value, TypeDescriptor targetType) {
|
||||
return convertValue(value, TypeDescriptor.forObject(value), targetType);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user