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

Support for vararg message arguments in MessageSource

    XMLWordPrintable

    Details

      Description

      Current message arguments are passed as Object Array and it is not elegant. Since now

      Spring Framework is based on Java 8. We can support Vararg based message arguments

      in MessageSource by using Java 8 Interface default methods which delegates calls to

      Object Array based methods. And it will be a easy to go chage as we won't have to 

      implement those methods in any implementation of MessageSource.

       

      I will be providing a pull request for this issue.

        Attachments

          Activity

            People

            Assignee:
            juergen.hoeller Juergen Hoeller
            Reporter:
            ankur pathak Ankur Pathak
            Last updater:
            Spring Issuemaster
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Days since last comment:
              1 year, 25 weeks, 1 day ago