diff --git a/build.xml b/build.xml index 493a9a99b7..7e6a70e68f 100644 --- a/build.xml +++ b/build.xml @@ -334,6 +334,7 @@ under the License. + @@ -458,6 +459,7 @@ under the License. + @@ -825,6 +827,7 @@ under the License. + @@ -867,6 +870,7 @@ under the License. + @@ -2566,7 +2570,6 @@ under the License. - @@ -2587,7 +2590,6 @@ under the License. - @@ -2646,6 +2648,7 @@ under the License. + 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));