custom mappable type tests
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user