paul-rogers commented on a change in pull request #1988: DRILL-7590: Refactor 
plugin registry
URL: https://github.com/apache/drill/pull/1988#discussion_r384897019
 
 

 ##########
 File path: 
exec/java-exec/src/main/java/org/apache/drill/exec/store/LocalSyncableFileSystem.java
 ##########
 @@ -243,7 +243,12 @@ public int read() throws IOException {
       byte[] b = new byte[1];
       input.read(b);
       position++;
-      return (int) b[0] & 0xFF;
+      return b[0] & 0xFF;
+    }
+
+    @Override
+    public void close() {
+      this.close();
 
 Review comment:
   Oh my. Good catch.

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to