Support for vararg message arguments in MessageSource [SPR-17600] #22132
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: superseded
An issue that has been superseded by another
Ankur Pathak opened SPR-17600 and commented
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.
Affects: 5.1.3
Referenced from: pull request #2053
The text was updated successfully, but these errors were encountered: