aboutsummaryrefslogtreecommitdiffstats
path: root/poi-ooxml
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2024-02-20 21:09:48 +0000
committerDominik Stadler <centic@apache.org>2024-02-20 21:09:48 +0000
commit1bb5f644f154b03714c4b250fd845ae68af00927 (patch)
tree49425954e19177ba1d6b05ccbdcb04bb6f3a8059 /poi-ooxml
parentb7bf3364539db2fb98b9ae2497c675ad5a3de359 (diff)
downloadpoi-1bb5f644f154b03714c4b250fd845ae68af00927.tar.gz
poi-1bb5f644f154b03714c4b250fd845ae68af00927.zip
Fix Ant-build after upgrade of commons-compress
Commons-lang3 is now required as dependency of commons-compress git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1915909 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-ooxml')
-rw-r--r--poi-ooxml/src/main/java/org/apache/poi/openxml4j/util/ZipArchiveThresholdInputStream.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/poi-ooxml/src/main/java/org/apache/poi/openxml4j/util/ZipArchiveThresholdInputStream.java b/poi-ooxml/src/main/java/org/apache/poi/openxml4j/util/ZipArchiveThresholdInputStream.java
index 6c65589ddc..68c813dbbb 100644
--- a/poi-ooxml/src/main/java/org/apache/poi/openxml4j/util/ZipArchiveThresholdInputStream.java
+++ b/poi-ooxml/src/main/java/org/apache/poi/openxml4j/util/ZipArchiveThresholdInputStream.java
@@ -147,7 +147,7 @@ public class ZipArchiveThresholdInputStream extends FilterInputStream {
}
try {
- entry = ((ZipArchiveInputStream) in).getNextZipEntry();
+ entry = ((ZipArchiveInputStream) in).getNextEntry();
if (guardState && entry != null) {
if (++entryCount > MAX_FILE_COUNT) {
throw new IOException(String.format(Locale.ROOT, MAX_FILE_COUNT_MSG, MAX_FILE_COUNT));