Moderate code cleanup (via mercutiodesign)
This commit is contained in:
parent
bbe58e05a9
commit
baa60a1b57
6 changed files with 22 additions and 23 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue