Commit 34fee98d authored by Сергей Цыпанов's avatar Сергей Цыпанов
Browse files

Remove redundant `& 0xFF` when casting int to byte

parent 6775daee
Pipeline #11694 passed with stage
in 10 minutes and 8 seconds
......@@ -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);
......
Markdown is supported
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