Bitwise operations have lower precedence that other arithmetic operations, so if we want to do it first we need paretheses.
Code example:
int length = (buf.readUnsignedShort() & 0x7fff) + 3;
This has been fixed already with PMD 5.3.5. It's a duplicate of [#1407].
Issues: #1407
Log in to post a comment.
This has been fixed already with PMD 5.3.5.
It's a duplicate of [#1407].
Related
Issues:
#1407