mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Nullability refinements in spring-webmvc
Includes revision of web.servlet.tags.form for non-null conventions. Issue: SPR-15540
This commit is contained in:
@@ -51,7 +51,7 @@ public class ModelMap extends LinkedHashMap<String, Object> {
|
||||
* under the supplied name.
|
||||
* @see #addAttribute(String, Object)
|
||||
*/
|
||||
public ModelMap(String attributeName, Object attributeValue) {
|
||||
public ModelMap(String attributeName, @Nullable Object attributeValue) {
|
||||
addAttribute(attributeName, attributeValue);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user