Browse Source

removed generic warning

pull/23217/head
Keith Donald 15 years ago
parent
commit
753d0b0c91
  1. 2
      org.springframework.core/src/main/java/org/springframework/core/convert/TypeDescriptor.java

2
org.springframework.core/src/main/java/org/springframework/core/convert/TypeDescriptor.java

@ -84,7 +84,7 @@ public class TypeDescriptor { @@ -84,7 +84,7 @@ public class TypeDescriptor {
* @param methodParameter the MethodParameter to wrap
* @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");
this.methodParameter = methodParameter;
this.type = type;

Loading…
Cancel
Save