Skip to content

Use putIfAbsent in Netty5HeadersAdapter #30343

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
wants to merge 1 commit into from
Closed

Use putIfAbsent in Netty5HeadersAdapter #30343

wants to merge 1 commit into from

Conversation

divcon
Copy link
Contributor

@divcon divcon commented Apr 16, 2023

For readability, use the putIfAbsent() method.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Apr 16, 2023
@rstoyanchev rstoyanchev changed the title use putIfAbsent in Netty5HeadersAdapter Use putIfAbsent in Netty5HeadersAdapter Apr 18, 2023
@rstoyanchev rstoyanchev added in: web Issues in web modules (web, webmvc, webflux, websocket) type: task A general task and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Apr 18, 2023
@rstoyanchev rstoyanchev added this to the 6.0.9 milestone Apr 18, 2023
@snicoll snicoll self-assigned this Apr 20, 2023
snicoll pushed a commit that referenced this pull request Apr 20, 2023
snicoll added a commit that referenced this pull request Apr 20, 2023
@snicoll snicoll closed this in 7a78092 Apr 20, 2023
@divcon divcon deleted the polish-20230416 branch April 21, 2023 03:06
@yuzawa-san
Copy link
Contributor

#29972 is a similar optimization

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

Successfully merging this pull request may close these issues.

5 participants