mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-10-05 06:29:03 +00:00
renamed executeConversion to simply convert for readibility
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1147 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
+1
-1
@@ -52,7 +52,7 @@ public class StandardTypeConverter implements TypeConverter {
|
||||
|
||||
public Object convertValue(Object value, TypeDescriptor typeDescriptor) throws EvaluationException {
|
||||
try {
|
||||
return conversionService.executeConversion(value, typeDescriptor);
|
||||
return conversionService.convert(value, typeDescriptor);
|
||||
} catch (ConverterNotFoundException cenfe) {
|
||||
throw new SpelException(cenfe, SpelMessages.TYPE_CONVERSION_ERROR, value.getClass(), typeDescriptor.asString());
|
||||
} catch (ConversionException ce) {
|
||||
|
||||
Reference in New Issue
Block a user