Skip to content

Add position variant of ObjectUtils.addObjectToArray #28415

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

Closed
philwebb opened this issue May 5, 2022 · 0 comments
Closed

Add position variant of ObjectUtils.addObjectToArray #28415

philwebb opened this issue May 5, 2022 · 0 comments
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement
Milestone

Comments

@philwebb
Copy link
Member

philwebb commented May 5, 2022

Currently ObjectUtils.addObjectToArray only allows you to add an element to the end of the array. With #28414 we need to add an element to the start.

@philwebb philwebb self-assigned this May 5, 2022
@philwebb philwebb added the type: enhancement A general enhancement label May 5, 2022
@philwebb philwebb added this to the 6.0.0-M4 milestone May 5, 2022
philwebb added a commit to philwebb/spring-framework that referenced this issue May 5, 2022
Add an overloaded version of `ObjectUtils.addObjectToArray` that allows
inserts at a specific position.

Closes spring-projectsgh-28415
@sbrannen sbrannen added the in: core Issues in core modules (aop, beans, core, context, expression) label May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants