This is an automated email from the ASF dual-hosted git repository.

pjfanning pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/poi.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 92839c321c add javadoc
92839c321c is described below

commit 92839c321cf83a1e2397314710eea6f304c767b9
Author: PJ Fanning <[email protected]>
AuthorDate: Fri Jun 5 12:13:49 2026 +0100

    add javadoc
---
 .../java/org/apache/poi/hssf/record/crypto/Biff8EncryptionKey.java   | 5 +++++
 1 file changed, 5 insertions(+)

diff --git 
a/poi/src/main/java/org/apache/poi/hssf/record/crypto/Biff8EncryptionKey.java 
b/poi/src/main/java/org/apache/poi/hssf/record/crypto/Biff8EncryptionKey.java
index aa5efb29c8..d2d690fd9e 100644
--- 
a/poi/src/main/java/org/apache/poi/hssf/record/crypto/Biff8EncryptionKey.java
+++ 
b/poi/src/main/java/org/apache/poi/hssf/record/crypto/Biff8EncryptionKey.java
@@ -33,6 +33,11 @@ public final class Biff8EncryptionKey {
 
     /**
      * Sets the BIFF8 encryption/decryption password for the current thread.
+     * <p>
+     *     It is strongly recommended that you call 
`setCurrentUserPassword(null)` as
+     *     soon as you are finished with the calls that need the password. One 
option is
+     *     to use a try block with a finally clause that calls 
`setCurrentUserPassword(null)`.
+     * </p>
      *
      * @param password pass <code>null</code> to clear user password (and use 
default)
      */


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to