mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Favor convertValue(Object, TypeDescriptor) where possible and TypedValue(Object); check with Andy on Selection and Projection TypedValue usage
This commit is contained in:
+5
@@ -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