Moderate code cleanup (via mercutiodesign)

This commit is contained in:
Vhati 2018-01-02 07:59:02 -05:00
parent bbe58e05a9
commit baa60a1b57
6 changed files with 22 additions and 23 deletions

View file

@ -64,7 +64,7 @@ public class FileChannelRegionInputStream extends InputStream {
// Do an absolute get() from the buffer,
// and interpret the byte as if it were unsigned.
int result = (int)(buf.get( (int)(intraPos - bufOffset) ) & 0xff);
int result = buf.get( (int)(intraPos - bufOffset) ) & 0xff;
intraPos++;
return result;
}