Skip to content

Simplified return statement #25415

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

Simplified return statement #25415

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Jul 19, 2020

return value if statements which can be simplified to a single assignment, return or assert statement.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Jul 19, 2020
@poutsma poutsma self-assigned this Jul 20, 2020
@poutsma poutsma added in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Jul 20, 2020
@poutsma poutsma added this to the 5.3 M2 milestone Jul 20, 2020
poutsma added a commit that referenced this pull request Jul 20, 2020
* gh-25415:
  Simplify PathResourceLookupFunction
@poutsma
Copy link
Contributor

poutsma commented Jul 20, 2020

Merged. Thanks for the PR!

@poutsma poutsma closed this Jul 20, 2020
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: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants