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

Align DelegatingAuthenticationConverter Constructors #15949

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

kse-music
Copy link
Contributor

@kse-music kse-music commented Oct 18, 2024

This change is valuable since new ArrayList<>() and List.of have different behaviors, meaning that these two constructors give two different object states without saying so.

This PR aligns the two constructors.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Oct 18, 2024
Copy link
Contributor

@jzheaux jzheaux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kse-music, thanks for this improvement. Please see my inline feedback.

Also, since the constructors demonstrate different behavior, I think this is a bug and should be fixed in 6.3.x as well. Are you able to rebase this change to 6.3.x please?

@jzheaux jzheaux self-assigned this Oct 23, 2024
@jzheaux jzheaux added in: web An issue in web modules (web, webmvc) type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged labels Oct 23, 2024
@jzheaux jzheaux changed the title Polish DelegatingAuthenticationConverter Align DelegatingAuthenticationConverter Constructors Oct 23, 2024
@jzheaux
Copy link
Contributor

jzheaux commented Oct 23, 2024

Also, @kse-music, I updated the PR title and description to reflect some of the API benefits to this change.

@jzheaux jzheaux added this to the 6.3.x milestone Oct 23, 2024
@kse-music
Copy link
Contributor Author

Thanks a lot, @jzheaux. Everything is done as you expected.

@jzheaux jzheaux modified the milestones: 6.3.x, 6.3.5 Oct 25, 2024
@jzheaux jzheaux merged commit 308e408 into spring-projects:6.3.x Oct 25, 2024
6 checks passed
@jzheaux
Copy link
Contributor

jzheaux commented Oct 25, 2024

Thanks, @kse-music! This is now merged into main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web An issue in web modules (web, webmvc) type: bug A general bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants