Skip to content

Polish #21130

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

Polish #21130

wants to merge 1 commit into from

Conversation

richard1230
Copy link
Contributor

When using IDEA for inspection, I found that some code can be simplified, so I submit a PR here.

@pivotal-issuemaster
Copy link

@richard1230 Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Apr 26, 2020
@pivotal-issuemaster
Copy link

@richard1230 Thank you for signing the Contributor License Agreement!

@snicoll snicoll changed the title Simplify some code Polish Apr 27, 2020
@snicoll snicoll added type: task A general task and removed status: waiting-for-triage An issue we've not yet triaged labels Apr 27, 2020
@snicoll snicoll self-assigned this Apr 27, 2020
@snicoll snicoll added this to the 2.3.0.RC1 milestone Apr 27, 2020
snicoll pushed a commit that referenced this pull request Apr 27, 2020
snicoll added a commit that referenced this pull request Apr 27, 2020
@snicoll snicoll closed this in fa01a15 Apr 27, 2020
@snicoll
Copy link
Member

snicoll commented Apr 27, 2020

Thank you for making your first contribution to Spring Boot @richard1230. Please note we prefer to apply automatic inspection ourselves as there is a judgement call involved. For instance, while that if statement could certainly be simplified using the inspection, I find it harder to read than the current code so I've reverted that change, see 4165863 for more details.

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