This PR improves code by removing unnecessary conditional statements.
Comment From: sbrannen
Thanks for the PR.
The use of if-blocks in TestContextAnnotationsUtils
is intentional in terms of consistency between the various steps of the search algorithm. Thus, although your proposed changes are technically correct, I'll keep the code as it currently is.
I have therefore changed the focus of this PR to the polishing in TestContextAnnotationsUtilsTests
.
Comment From: Rebwon
Thank you for your answer. I agree with your opinion.