removed generic warning

master
Keith Donald 15 years ago
parent 027bd24260
commit 753d0b0c91
  1. 2
      org.springframework.core/src/main/java/org/springframework/core/convert/TypeDescriptor.java

@ -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…
Cancel
Save