Skip to content

Optimized the test code by replacing anonymous inner classes with Lam…#49347

Closed
cetf9h wants to merge 2 commits into
spring-projects:mainfrom
cetf9h:main
Closed

Optimized the test code by replacing anonymous inner classes with Lam…#49347
cetf9h wants to merge 2 commits into
spring-projects:mainfrom
cetf9h:main

Conversation

@cetf9h
Copy link
Copy Markdown

@cetf9h cetf9h commented Feb 27, 2026

I found some code to simplify when using IDEA to inspect the code,so I submit a PR here.
Optimized the test code by replacing anonymous inner classes with Lambda expressions to improve code conciseness.

…bda expressions to improve code conciseness.

Signed-off-by: cetf <cetf9h@163.com>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Feb 27, 2026
…bda expressions to improve code conciseness.
@cetf9h cetf9h closed this Feb 27, 2026
@bclozel bclozel added status: invalid An issue that we don't feel is valid and removed status: waiting-for-triage An issue we've not yet triaged labels Feb 27, 2026
@bclozel
Copy link
Copy Markdown
Member

bclozel commented Feb 27, 2026

@cetf9h please avoid opening another PR for this. I don't think the lambdas really make the code more readable.
Also, before submitting a PR, you should ensure that you run the build locally and that your commits are signed for the DCO check. Thanks.

@cetf9h
Copy link
Copy Markdown
Author

cetf9h commented Feb 27, 2026

@bclozel Thank you very much for your feedback and reminder. I sincerely apologize for any inconvenience caused to you.

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

Labels

status: invalid An issue that we don't feel is valid

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants