bodewig commented on a change in pull request #186:
URL: https://github.com/apache/commons-compress/pull/186#discussion_r611026330



##########
File path: 
src/main/java/org/apache/commons/compress/archivers/zip/ZipSplitOutputStream.java
##########
@@ -65,7 +65,7 @@ public ZipSplitOutputStream(final File zipFile, final long 
splitSize) throws Ill
         this.zipFile = zipFile;
         this.splitSize = splitSize;
 
-        this.outputStream = new FileOutputStream(zipFile);
+        this.outputStream = Files.newOutputStream((zipFile.toPath()));

Review comment:
       please remove the redundant pair of parenthesis




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