Skip to content

Commit 8278417

Browse files
committed
[bug-69628] make ZipArchiveFakeEntry.setMaxEntrySize publicly accessible
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1924595 13f79535-47bb-0310-9956-ffa450edef68
1 parent 6096d55 commit 8278417

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

poi-ooxml/src/main/java/org/apache/poi/openxml4j/util/ZipArchiveFakeEntry.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public static int getMaxEntrySize() {
8080

8181
// Grab the de-compressed contents for later
8282
data = (entrySize == -1) ? IOUtils.toByteArrayWithMaxLength(inp, getMaxEntrySize()) :
83-
IOUtils.toByteArray(inp, (int)entrySize, getMaxEntrySize());
83+
IOUtils.toByteArray(inp, entrySize, getMaxEntrySize());
8484
}
8585
}
8686

0 commit comments

Comments
 (0)