custom mappable type tests

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2076 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Keith Donald
2009-10-07 21:33:53 +00:00
parent 0570219941
commit 8a7596d684
5 changed files with 189 additions and 2 deletions
@@ -43,6 +43,6 @@ public class MappableTypeFactory {
}
}
throw new IllegalArgumentException("Object of type [" + object.getClass().getName()
+ "] not mappable - no suitable MappableType exists");
+ "] is not mappable - no suitable MappableType exists");
}
}
@@ -208,7 +208,7 @@ public class SpelMapper implements Mapper<Object, Object> {
// internal helpers
private Class[] getRequiredTypeInfo(Mapper mapper) {
private Class<?>[] getRequiredTypeInfo(Mapper<?, ?> mapper) {
return GenericTypeResolver.resolveTypeArguments(mapper.getClass(), Mapper.class);
}