removed generic warning
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2628 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
parent
b9296d7c9d
commit
1b667021e4
|
|
@ -84,7 +84,7 @@ public class TypeDescriptor {
|
||||||
* @param methodParameter the MethodParameter to wrap
|
* @param methodParameter the MethodParameter to wrap
|
||||||
* @param type the specific type to expose (may be an array/collection element)
|
* @param type the specific type to expose (may be an array/collection element)
|
||||||
*/
|
*/
|
||||||
protected TypeDescriptor(MethodParameter methodParameter, Class type) {
|
protected TypeDescriptor(MethodParameter methodParameter, Class<?> type) {
|
||||||
Assert.notNull(methodParameter, "MethodParameter must not be null");
|
Assert.notNull(methodParameter, "MethodParameter must not be null");
|
||||||
this.methodParameter = methodParameter;
|
this.methodParameter = methodParameter;
|
||||||
this.type = type;
|
this.type = type;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue