This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-compress.git
commit 9bb31aa96d5f7c80897053f06ace2ca06dd0727c Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sun Oct 29 09:39:15 2023 -0400 Format tweak --- .../apache/commons/compress/archivers/sevenz/SevenZOutputFile.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZOutputFile.java b/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZOutputFile.java index 16d4c7be..8d6589a5 100644 --- a/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZOutputFile.java +++ b/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZOutputFile.java @@ -57,12 +57,16 @@ import org.apache.commons.compress.utils.TimeUtils; /** * Writes a 7z file. + * * @since 1.6 */ public class SevenZOutputFile implements Closeable { + private class OutputStreamWrapper extends OutputStream { + private static final int BUF_SIZE = 8192; private final ByteBuffer buffer = ByteBuffer.allocate(BUF_SIZE); + @Override public void close() throws IOException { // the file will be closed by the containing class's close method