Skip to content

Polish collection usage in HttpHeadersTests#36760

Open
codingkiddo wants to merge 1 commit intospring-projects:mainfrom
codingkiddo:polish-httpheaders-tests
Open

Polish collection usage in HttpHeadersTests#36760
codingkiddo wants to merge 1 commit intospring-projects:mainfrom
codingkiddo:polish-httpheaders-tests

Conversation

@codingkiddo
Copy link
Copy Markdown

This PR performs a small test-only readability cleanup in HttpHeadersTests.

Changes:

  • Replaces selected Arrays.asList(...) usages with List.of(...) where nulls and mutability are not required.
  • Simplifies small test collection setup where applicable.
  • Keeps production code unchanged.

No behavior change intended.

Signed-off-by: Vinod Kumar <vinodkumar@192.168.1.7>
@codingkiddo codingkiddo force-pushed the polish-httpheaders-tests branch from a91f8c9 to 11525aa Compare May 7, 2026 05:41
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label May 7, 2026
@bclozel
Copy link
Copy Markdown
Member

bclozel commented May 7, 2026

@codingkiddo please run the build before submitting a pull request. You can do so with ./gradlew check locally. Once fixed, you can push additional commits to your branch to update this PR.
Also, please use a valid email when signing your commits. This doesn't need to be a public email, so an anonymized GitHub email works fine as long as GitHub associates it with your account. See https://spring.io/blog/2025/01/06/hello-dco-goodbye-cla-simplifying-contributions-to-spring/ for more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting-for-triage An issue we've not yet triaged or decided on

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants