emkornfield commented on a change in pull request #10108:
URL: https://github.com/apache/arrow/pull/10108#discussion_r619887124



##########
File path: 
java/dataset/src/test/java/org/apache/arrow/dataset/file/TestFileSystemDataset.java
##########
@@ -126,6 +128,7 @@ public void testParquetBatchSize() throws Exception {
     checkParquetReadResult(schema, writeSupport.getWrittenRecords(), datum);
 
     AutoCloseables.close(datum);
+    AutoCloseables.close(factory);

Review comment:
       combine this line with the previous?  close can take multiple parameters 
i believe.




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