]> source.dussan.org Git - poi.git/commitdiff
javadoc
authorPJ Fanning <fanningpj@apache.org>
Thu, 14 Oct 2021 19:14:41 +0000 (19:14 +0000)
committerPJ Fanning <fanningpj@apache.org>
Thu, 14 Oct 2021 19:14:41 +0000 (19:14 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894263 13f79535-47bb-0310-9956-ffa450edef68

poi-ooxml/src/main/java/org/apache/poi/openxml4j/opc/ZipPackage.java
poi-ooxml/src/main/java/org/apache/poi/openxml4j/util/ZipInputStreamZipEntrySource.java

index 7622c240bd1f2b2aaf1b4770632af0525a34be40..5d6fc5d013b8068090e35890457b95f41dc2984c 100644 (file)
@@ -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;
index cea12db5fd04a287ae984c52b6651b0f6ff3fe27..ad99adb693afea9cc19e8966c47bc0799214cd91 100644 (file)
@@ -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() {