All Downloads are FREE. Search and download functionalities are using the official Maven repository.

resources.report.rules.findbugs.ICAST_BAD_SHIFT_AMOUNT.html Maven / Gradle / Ivy



ICAST: Integer shift by an amount not in the range 0..31 (ICAST_BAD_SHIFT_AMOUNT)


ICAST: Integer shift by an amount not in the range 0..31 (ICAST_BAD_SHIFT_AMOUNT)

The code performs an integer shift by a constant amount outside the range 0..31. The effect of this is to use the lower 5 bits of the integer value to decide how much to shift by. This probably isn't want was expected, and it at least confusing.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy