garydgregory commented on a change in pull request #93:
URL: https://github.com/apache/commons-vfs/pull/93#discussion_r465702259



##########
File path: 
commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/local/LocalFileRandomAccessContent.java
##########
@@ -45,7 +45,7 @@
                 @Override
                 public int read() throws IOException {
                     try {
-                        return raf.readByte();
+                        return raf.readByte() & 0xFF;

Review comment:
       For now I would just add it as a constant in 
`RamFileRandomAccessContent`. The only other place I see it used, is once in an 
unrelated sandbox class.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to