Skip to content

Simplify if statements #17785

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

Conversation

SaberMaycry
Copy link
Contributor

When I read the source code with IDEA, I found that some statements can be simplified, so I submitted this pull request.

…s can be simplified, so I submitted this pull request.
@pivotal-issuemaster
Copy link

@SaberMaycry Please sign the Contributor License Agreement!

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

See the FAQ for frequently asked questions.

@pivotal-issuemaster
Copy link

@SaberMaycry Thank you for signing the Contributor License Agreement!

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Aug 5, 2019
@mbhave mbhave changed the title When I read the source code with IDEA, I found that some if statement… Simplify if statements Aug 5, 2019
@mbhave mbhave added type: task A general task and removed status: waiting-for-triage An issue we've not yet triaged labels Aug 5, 2019
@mbhave mbhave added this to the 2.2.x milestone Aug 5, 2019
@mbhave mbhave added the status: waiting-for-feedback We need additional information before we can continue label Aug 5, 2019
@snicoll snicoll self-assigned this Aug 8, 2019
@snicoll snicoll removed the status: waiting-for-feedback We need additional information before we can continue label Aug 8, 2019
@snicoll snicoll modified the milestones: 2.2.x, 2.2.0.M6 Aug 8, 2019
snicoll pushed a commit that referenced this pull request Aug 8, 2019
snicoll added a commit that referenced this pull request Aug 8, 2019
@snicoll snicoll closed this in 9d4671a Aug 8, 2019
@snicoll
Copy link
Member

snicoll commented Aug 8, 2019

@SaberMaycry thank you for making your first contribution to Spring Boot. I've decided to revert a couple of changes when there are several if statements in a row as I prefer the readability even if the last statement can be simplified. Thanks again.

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.

5 participants