Explicit initialization of shouldValidate flags
Closes gh-32007
This commit is contained in:
@@ -86,7 +86,7 @@ class HandlerMethodTests {
|
||||
|
||||
private static HandlerMethod getHandlerMethod(Object target, String methodName) {
|
||||
Method method = ClassUtils.getMethod(target.getClass(), methodName, (Class<?>[]) null);
|
||||
return new HandlerMethod(target, method);
|
||||
return new HandlerMethod(target, method).createWithValidateFlags();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user