Use Objects.requireNonNullElse instead of if statements.
Comment From: pivotal-cla
@matiasdsalerno 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
@matiasdsalerno Thank you for signing the Contributor License Agreement!
Comment From: wilkinsona
Thanks for the suggestion, @matiasdsalerno, but I think the code's more readable as it is currently written.