introduced TypeDescriptor.OBJECT and TypeDescriptor.STRING

This commit is contained in:
Juergen Hoeller
2009-12-15 10:21:16 +00:00
parent 1b0c6b848d
commit f52986ea15
16 changed files with 109 additions and 116 deletions

View File

@@ -39,7 +39,7 @@ public class MapAccessor implements PropertyAccessor {
}
public TypedValue read(EvaluationContext context, Object target, String name) throws AccessException {
return new TypedValue(((Map) target).get(name), TypeDescriptor.valueOf(Object.class));
return new TypedValue(((Map) target).get(name), TypeDescriptor.OBJECT);
}
public boolean canWrite(EvaluationContext context, Object target, String name) throws AccessException {