org.sonar.l10n.java.rules.squid.S2437.html Maven / Gradle / Ivy
The newest version!
Certain bit operations are just silly and should not be performed because their results are predictable.
Specifically, using & -1
with any value will always result in the original value, as will anyValue ^ 0
and anyValue | 0
.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy