Skip to content

Replace anonymous inner classes with lambda expressions #25319

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

Merged
merged 3 commits into from Jun 26, 2020
Merged

Replace anonymous inner classes with lambda expressions #25319

merged 3 commits into from Jun 26, 2020

Conversation

ghost
Copy link

@ghost ghost commented Jun 26, 2020

In SimpleBufferingAsyncClientHttpRequest And SimpleStreamingAsyncClientHttpRequest class,Anonymous type can be replaced with lambda

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Jun 26, 2020
@sbrannen sbrannen self-assigned this Jun 26, 2020
@sbrannen sbrannen 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 Jun 26, 2020
@sbrannen sbrannen added this to the 5.3 M2 milestone Jun 26, 2020
@sbrannen sbrannen changed the title Simplify the code: Anonymous type can be replaced with lambda Replace anonymous inner classes with lambda expressions Jun 26, 2020
@sbrannen sbrannen merged commit 43df06b into spring-projects:master Jun 26, 2020
@sbrannen
Copy link
Member

Although we typically don't seek to enhance deprecated classes, I've gone ahead and merged this PR into master.

Please note as well that your changes broke the build. So be sure to always run ./gradlew check before submitting a PR.

Thanks

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.

2 participants