Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for vararg message arguments in MessageSource [SPR-17600] #22132

Open
spring-issuemaster opened this issue Dec 14, 2018 · 1 comment

Comments

@spring-issuemaster
Copy link
Collaborator

@spring-issuemaster spring-issuemaster commented Dec 14, 2018

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

@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

@spring-issuemaster spring-issuemaster commented Dec 14, 2018

Ankur Pathak commented

Here is pull request for the issue:

#2053

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.