Skip to content

Ref switch #29087

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 6 commits into from
Closed

Ref switch #29087

wants to merge 6 commits into from

Conversation

Tharik67
Copy link

refactor to use the switch expression when possible to make the code more clean about the issue: #28180

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Dec 16, 2021
@philwebb
Copy link
Member

philwebb commented Dec 16, 2021

Thanks for the pull-request, but I think some of these changes will break things. Specifically, any case without a break could run multiple code paths. I think we intended to use the new -> syntax with #28180.

@philwebb philwebb added the status: on-hold We can't start working on this issue yet label Dec 16, 2021
@wilkinsona
Copy link
Member

I agree with Phil. I don't think we should merge this as it'll break things in a number of places due to fall-through. I also find the code harder to read in a few places. Thanks anyway, @Tharik67.

@wilkinsona wilkinsona closed this Feb 13, 2022
@wilkinsona wilkinsona added status: declined A suggestion or change that we don't feel we should currently apply and removed status: on-hold We can't start working on this issue yet status: waiting-for-triage An issue we've not yet triaged labels Feb 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: declined A suggestion or change that we don't feel we should currently apply
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants