Change

  • Improve readability by deleting unnecessary 'else'.
  • Improve readability by adding early return.

Comment From: pivotal-cla

@rlaehd62 Please sign the Contributor License Agreement!

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

See the FAQ for frequently asked questions.

Comment From: pivotal-cla

@rlaehd62 Thank you for signing the Contributor License Agreement!

Comment From: sbrannen

Hi @rlaehd62,

Congratulations on submitting your first PR for the Spring Framework! 👍

Unfortunately, the proposed changes pertain mainly to topics that are a matter of style, and we typically do not like to make changes based solely on style. In addition, if-else blocks sometimes actually make it easier to reason about the code at a glance.

In light of that, I am closing this PR.

Cheers,

Sam