Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael5601 committed Jun 11, 2024
1 parent 42cf4fb commit 9b513be
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ public InputStream openInputStream(int options, IProgressMonitor monitor) throws
public OutputStream openOutputStream(int options, IProgressMonitor monitor) {
// Creating a ByteArrayOutputStream to capture the data written to the
// OutputStream
ByteArrayOutputStream baos = new ByteArrayOutputStream() {
return new ByteArrayOutputStream() {
@Override
public void close() throws IOException {
try (FileSystem zipFs = openZipFileSystem()) {
Expand All @@ -473,8 +473,6 @@ public void close() throws IOException {
}
}
};

return baos;
}

private FileSystem openZipFileSystem() throws URISyntaxException, IOException {
Expand Down

0 comments on commit 9b513be

Please sign in to comment.