This commit is contained in:
Keith Donald 2009-10-07 17:28:28 +00:00
parent 9cf508d80d
commit ec04357580
1 changed files with 2 additions and 2 deletions

View File

@ -40,8 +40,8 @@ class BeanMappableType implements MappableType<Object> {
return fields;
}
public EvaluationContext getEvaluationContext(Object instance, ConversionService conversionService) {
StandardEvaluationContext context = new StandardEvaluationContext(instance);
public EvaluationContext getEvaluationContext(Object object, ConversionService conversionService) {
StandardEvaluationContext context = new StandardEvaluationContext(object);
context.setTypeConverter(new StandardTypeConverter(conversionService));
return context;
}