mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-22 14:09:25 +00:00
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:
+1
-1
@@ -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");
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user