From 9bd8215fa301c3480839d3487b00b28bb63e74be Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Thu, 14 Oct 2021 19:14:41 +0000 Subject: [PATCH] javadoc git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894263 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/java/org/apache/poi/openxml4j/opc/ZipPackage.java | 2 +- .../poi/openxml4j/util/ZipInputStreamZipEntrySource.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/poi-ooxml/src/main/java/org/apache/poi/openxml4j/opc/ZipPackage.java b/poi-ooxml/src/main/java/org/apache/poi/openxml4j/opc/ZipPackage.java index 7622c240bd..5d6fc5d013 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/openxml4j/opc/ZipPackage.java +++ b/poi-ooxml/src/main/java/org/apache/poi/openxml4j/opc/ZipPackage.java @@ -77,7 +77,7 @@ public final class ZipPackage extends OPCPackage { } /** - * @param encryptTempFiles whether to encrypt temp files + * @param encryptTempFiles whether to encrypt package part temp files */ public static void setEncryptTempFilePackageParts(boolean encryptTempFiles) { encryptTempFilePackageParts = encryptTempFiles; diff --git a/poi-ooxml/src/main/java/org/apache/poi/openxml4j/util/ZipInputStreamZipEntrySource.java b/poi-ooxml/src/main/java/org/apache/poi/openxml4j/util/ZipInputStreamZipEntrySource.java index cea12db5fd..ad99adb693 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/openxml4j/util/ZipInputStreamZipEntrySource.java +++ b/poi-ooxml/src/main/java/org/apache/poi/openxml4j/util/ZipInputStreamZipEntrySource.java @@ -41,7 +41,7 @@ public class ZipInputStreamZipEntrySource implements ZipEntrySource { private InputStream streamToClose; /** - * Set the threshold at which it a zip entry is regarded as too large for holding in memory + * Set the threshold at which a zip entry is regarded as too large for holding in memory * and the data is put in a temp file instead * @param thresholdBytes number of bytes at which a zip entry is regarded as too large for holding in memory * and the data is put in a temp file instead - defaults to -1 meaning temp files are not used @@ -75,7 +75,7 @@ public class ZipInputStreamZipEntrySource implements ZipEntrySource { } /** - * Whether temp files should be encrypted. Only affects temp files related to zip entries. + * Whether temp files should be encrypted (default false). Only affects temp files related to zip entries. * @since POI 5.1.0 */ public static boolean shouldEncryptTempFiles() { -- 2.39.5