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 e1d55513ad Update encryption.xml
e1d55513ad is described below

commit e1d55513add5400814937ba13a0a646dc35e7571
Author: PJ Fanning <[email protected]>
AuthorDate: Fri Jun 5 17:54:02 2026 +0100

    Update encryption.xml
---
 src/documentation/content/xdocs/encryption.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/documentation/content/xdocs/encryption.xml 
b/src/documentation/content/xdocs/encryption.xml
index 5ca7006e70..0eda1576fb 100644
--- a/src/documentation/content/xdocs/encryption.xml
+++ b/src/documentation/content/xdocs/encryption.xml
@@ -141,8 +141,8 @@
         <section>
             <title>XOR/RC4 decryption for xls</title>
             <source><![CDATA[
-                // set password before opening the file - note that this a 
ThreadLocal and needs to be
-                // reset to null after text extraction
+                // set password before opening the file - note that this is a 
ThreadLocal and needs to be
+                // reset to null after you are done with the file
                 Biff8EncryptionKey.setCurrentUserPassword("pass");
                 POIFSFileSystem fs = new POIFSFileSystem(new File("file.xls"), 
true);
                 HSSFWorkbook hwb = new HSSFWorkbook(fs.getRoot(), true);
@@ -153,8 +153,8 @@
         <section>
             <title>RC4 CryptoApi support ppt - decryption</title>
             <source><![CDATA[
-                // set password before opening the file - note that this a 
ThreadLocal and needs to be
-                // reset to null after text extraction
+                // set password before opening the file - note that this is a 
ThreadLocal and needs to be
+                // reset to null after you are done with the file
                 Biff8EncryptionKey.setCurrentUserPassword("pass");
                 POIFSFileSystem fs = new POIFSFileSystem(new File("file.ppt"), 
true);
                 HSLFSlideShow hss = new HSLFSlideShow(fs);


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

Reply via email to