Polish synchronization of model attributes with the session.
This commit is contained in:
@@ -50,10 +50,9 @@ import org.springframework.web.servlet.mvc.method.annotation.ServletRequestDataB
|
||||
public class ServletModelAttributeMethodProcessor extends ModelAttributeMethodProcessor {
|
||||
|
||||
/**
|
||||
* @param annotationNotRequired if {@code true}, any non-simple type
|
||||
* argument or return value is regarded as a model attribute even without
|
||||
* the presence of a {@code @ModelAttribute} annotation in which case the
|
||||
* attribute name is derived from the model attribute's type.
|
||||
* @param annotationNotRequired if "true", non-simple method arguments and
|
||||
* return values are considered model attributes with or without a
|
||||
* {@code @ModelAttribute} annotation.
|
||||
*/
|
||||
public ServletModelAttributeMethodProcessor(boolean annotationNotRequired) {
|
||||
super(annotationNotRequired);
|
||||
|
||||
Reference in New Issue
Block a user