G-4260: Avoid inverting boolean conditions with NOT.
Minor
Maintainability, Testability
Reason
It is more readable to use the opposite comparison operator instead of inverting the comparison with not
.
Example (bad)
1 2 3 4 5 6 7 8 |
|
Example (good)
1 2 3 4 5 6 7 8 |
|