Description:

This pull request improves the nullSafeEquals method in [ ObjectUtils] to enhance both readability and performance.

Changes:

  • Reorganized if conditions for clarity and reduced redundancy.
  • Optimized the array comparison logic for early termination when possible.
  • Removed unnecessary equals checks, making the flow more efficient.

Comment From: pivotal-cla

@nomoreFt 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

@nomoreFt Thank you for signing the Contributor License Agreement!