Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-16831

ConcurrentModel.addAttribute(name, value) javadoc should not declare null value as acceptable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 5.0.6
    • Fix Version/s: 5.0.8, 5.1 RC1
    • Component/s: Core
    • Labels:
      None

      Description

      According to the Spring documentation: https://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/ui/ConcurrentModel.html#addAttribute-java.lang.String-java.lang.Object-

      This method is supposed to accept a null second parameter but there is an Assert.notNull that breaks this behaviour.

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                juergen.hoeller Juergen Hoeller
                Reporter:
                ddelamotte David DELAMOTTE
                Last updater:
                Juergen Hoeller
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  14 weeks, 5 days ago