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

Use lambda expressions consistently #32765

Closed

Conversation

earlgrey02
Copy link
Contributor

@earlgrey02 earlgrey02 commented May 5, 2024

In RouterFunctionDsl.kt, I saw several cases where lambda expressions were used mixed(placing lambda outside or inside the method call) as shown above. For consistency, I modified all lambda expressions according to JetBrains' official recommendation(if the last argument to the method is a lambda, place the lambda outside the method call).

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label May 5, 2024
@snicoll snicoll added in: web Issues in web modules (web, webmvc, webflux, websocket) theme: kotlin An issue related to Kotlin support labels May 6, 2024
@sdeleuze sdeleuze self-assigned this May 7, 2024
@sdeleuze sdeleuze added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels May 7, 2024
@sdeleuze sdeleuze added this to the 6.2.0-M2 milestone May 7, 2024
@sdeleuze sdeleuze closed this in 797f586 May 10, 2024
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) theme: kotlin An issue related to Kotlin support type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants