Skip to content

Polish code to use 'switch' instead of 'if', remove unessary unboxing and redundant cast #40985

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 3 commits into from

Conversation

asashour
Copy link
Contributor

@asashour asashour commented Jun 4, 2024

This PR has the following changes:

  • Use switch instead of if
  • Remove unnecessary (un)boxing

- Remove unnecessary (ub)boxing
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jun 4, 2024
@mhalbritter mhalbritter changed the title Use switch instead of if Use switch instead of if Jun 4, 2024
@philwebb philwebb added type: task A general task and removed status: waiting-for-triage An issue we've not yet triaged labels Jun 4, 2024
@philwebb philwebb added this to the 3.4.x milestone Jun 4, 2024
@philwebb philwebb self-assigned this Jun 11, 2024
@philwebb philwebb modified the milestones: 3.4.x, 3.2.x Jun 11, 2024
@philwebb philwebb changed the title Use switch instead of if Polish code to use 'switch' instead of 'if', remove unessary unboxing and remote redundant cast Jun 11, 2024
@philwebb philwebb modified the milestones: 3.2.x, 3.2.7 Jun 11, 2024
philwebb pushed a commit that referenced this pull request Jun 11, 2024
philwebb added a commit that referenced this pull request Jun 11, 2024
philwebb pushed a commit that referenced this pull request Jun 11, 2024
philwebb pushed a commit that referenced this pull request Jun 11, 2024
@philwebb philwebb closed this in ef99ce0 Jun 11, 2024
@philwebb
Copy link
Member

Thanks very much @asashour

philwebb pushed a commit that referenced this pull request Jun 11, 2024
@asashour asashour deleted the enhancements branch June 12, 2024 05:49
@mhalbritter mhalbritter changed the title Polish code to use 'switch' instead of 'if', remove unessary unboxing and remote redundant cast Polish code to use 'switch' instead of 'if', remove unessary unboxing and redundant cast Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task A general task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants