Commit 184aaa9f authored by Eric Bruneton's avatar Eric Bruneton
Browse files

Merge branch 'bitwise' into 'master'

Remove redundant '& 0xFF' from int-to-byte cast

See merge request asm/asm!315
parents 6775daee 34fee98d
......@@ -103,7 +103,7 @@ public final class ModuleHashesAttribute extends Attribute {
currentOffset += 2;
byte[] hash = new byte[hashLength];
for (int j = 0; j < hashLength; ++j) {
hash[j] = (byte) (classReader.readByte(currentOffset) & 0xFF);
hash[j] = (byte) classReader.readByte(currentOffset);
currentOffset += 1;
}
hashList.add(hash);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment