Avoid warnings in RequestMappingHandlerMappingTests
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user