removed generic warning

This commit is contained in:
Keith Donald 2009-12-11 18:19:43 +00:00
parent 027bd24260
commit 753d0b0c91
1 changed files with 1 additions and 1 deletions

View File

@ -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;