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
The following commit(s) were added to refs/heads/master by this push:
new 2894e3f Format nit.
2894e3f is described below
commit 2894e3f16d1bf6d3d297b825a05952376510f181
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Feb 13 17:52:05 2022 -0500
Format nit.
---
.../org/apache/commons/compress/archivers/zip/ZipArchiveInputStream.java | 1 -
1 file changed, 1 deletion(-)
diff --git
a/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStream.java
b/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStream.java
index b84c2f2..2a2d0b3 100644
---
a/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStream.java
+++
b/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStream.java
@@ -946,7 +946,6 @@ public class ZipArchiveInputStream extends
ArchiveInputStream implements InputSt
*/
private boolean supportsDataDescriptorFor(final ZipArchiveEntry entry) {
return !entry.getGeneralPurposeBit().usesDataDescriptor()
-
|| (allowStoredEntriesWithDataDescriptor && entry.getMethod()
== ZipEntry.STORED)
|| entry.getMethod() == ZipEntry.DEFLATED
|| entry.getMethod() == ZipMethod.ENHANCED_DEFLATED.getCode();