From 7a05f818441f61b8918c54da56b16946255a4aee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Deleuze?= Date: Tue, 30 May 2023 12:07:52 +0200 Subject: [PATCH] Polish ModelAttributeMethodProcessor#constructAttribute Javadoc --- .../web/method/annotation/ModelAttributeMethodProcessor.java | 1 + 1 file changed, 1 insertion(+) diff --git a/spring-web/src/main/java/org/springframework/web/method/annotation/ModelAttributeMethodProcessor.java b/spring-web/src/main/java/org/springframework/web/method/annotation/ModelAttributeMethodProcessor.java index df8b4fb82ca7..f80b88fad5da 100644 --- a/spring-web/src/main/java/org/springframework/web/method/annotation/ModelAttributeMethodProcessor.java +++ b/spring-web/src/main/java/org/springframework/web/method/annotation/ModelAttributeMethodProcessor.java @@ -233,6 +233,7 @@ protected Object createAttribute(String attributeName, MethodParameter parameter * after constructor resolution. * @param ctor the constructor to use * @param attributeName the name of the attribute (never {@code null}) + * @param parameter the method parameter declaration * @param binderFactory for creating WebDataBinder instance * @param webRequest the current request * @return the created model attribute (never {@code null})