You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/12/28 22:46:37 UTC
[commons-compress] 02/03: Format tweak
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 095bcf7da061fbcd18c8a95813f689f9a004c0c8
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Wed Dec 28 17:30:31 2022 -0500
Format tweak
---
.../apache/commons/compress/archivers/zip/ZipArchiveOutputStream.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveOutputStream.java b/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveOutputStream.java
index 4d06d680..e46c4d08 100644
--- a/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveOutputStream.java
+++ b/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveOutputStream.java
@@ -912,7 +912,7 @@ public class ZipArchiveOutputStream extends ArchiveOutputStream {
final int len = LFH_FILENAME_OFFSET + nameLen + extra.length;
final byte[] buf = new byte[len];
- System.arraycopy(LFH_SIG, 0, buf, LFH_SIG_OFFSET, ZipConstants.WORD);
+ System.arraycopy(LFH_SIG, 0, buf, LFH_SIG_OFFSET, ZipConstants.WORD);
//store method in local variable to prevent multiple method calls
final int zipMethod = ze.getMethod();