Polishing

This commit is contained in:
Juergen Hoeller
2018-08-09 01:41:45 +02:00
parent f3184a0878
commit d8d04d82c1
3 changed files with 26 additions and 35 deletions

View File

@@ -78,8 +78,8 @@ class ControllerMethodResolver {
* MethodFilter that matches {@link ModelAttribute @ModelAttribute} methods.
*/
private static final MethodFilter MODEL_ATTRIBUTE_METHODS = method ->
(AnnotationUtils.findAnnotation(method, RequestMapping.class) == null) &&
(AnnotationUtils.findAnnotation(method, ModelAttribute.class) != null);
(AnnotationUtils.findAnnotation(method, RequestMapping.class) == null &&
AnnotationUtils.findAnnotation(method, ModelAttribute.class) != null);
private static Log logger = LogFactory.getLog(ControllerMethodResolver.class);