renamed executeConversion to simply convert for readibility

This commit is contained in:
Keith Donald
2009-05-11 21:25:33 +00:00
parent c3f54b4cb4
commit 50985d5aa9
5 changed files with 16 additions and 16 deletions

View File

@@ -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) {