Avoid warnings in RequestMappingHandlerMappingTests
This commit is contained in:
parent
d7320de871
commit
4d1637a9b7
|
|
@ -165,7 +165,7 @@ public class RequestMappingHandlerMappingTests {
|
|||
RequestMethod requestMethod) throws Exception {
|
||||
|
||||
Class<?> clazz = ComposedAnnotationController.class;
|
||||
Method method = ClassUtils.getMethod(clazz, methodName, null);
|
||||
Method method = ClassUtils.getMethod(clazz, methodName, (Class<?>[]) null);
|
||||
RequestMappingInfo info = this.handlerMapping.getMappingForMethod(method, clazz);
|
||||
|
||||
assertNotNull(info);
|
||||
|
|
|
|||
|
|
@ -222,7 +222,7 @@ public class RequestMappingHandlerMappingTests {
|
|||
RequestMethod requestMethod) throws Exception {
|
||||
|
||||
Class<?> clazz = ComposedAnnotationController.class;
|
||||
Method method = ClassUtils.getMethod(clazz, methodName, null);
|
||||
Method method = ClassUtils.getMethod(clazz, methodName, (Class<?>[]) null);
|
||||
RequestMappingInfo info = this.handlerMapping.getMappingForMethod(method, clazz);
|
||||
|
||||
assertNotNull(info);
|
||||
|
|
|
|||
Loading…
Reference in New Issue