This is an automated email from the ASF dual-hosted git repository.
fanningpj 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 90f1ae7a68 Revert "Update HWPFDocumentCore.java"
90f1ae7a68 is described below
commit 90f1ae7a68faae28c98ffeb30e7566480d4a4b7c
Author: PJ Fanning <[email protected]>
AuthorDate: Wed Mar 4 23:25:44 2026 +0100
Revert "Update HWPFDocumentCore.java"
This reverts commit 7cf5b04673d8d8bae4cd027041f26566e81d2c8c.
---
poi-scratchpad/src/main/java/org/apache/poi/hwpf/HWPFDocumentCore.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/poi-scratchpad/src/main/java/org/apache/poi/hwpf/HWPFDocumentCore.java
b/poi-scratchpad/src/main/java/org/apache/poi/hwpf/HWPFDocumentCore.java
index 4fac6d2b0c..be8328280e 100644
--- a/poi-scratchpad/src/main/java/org/apache/poi/hwpf/HWPFDocumentCore.java
+++ b/poi-scratchpad/src/main/java/org/apache/poi/hwpf/HWPFDocumentCore.java
@@ -297,7 +297,7 @@ public abstract class HWPFDocumentCore extends POIDocument {
pass = Decryptor.DEFAULT_PASSWORD;
}
if (!dec.verifyPassword(pass)) {
- throw new EncryptedDocumentException("document is encrypted,
password is invalid - use Biff8EncryptionKey.setCurrentUserPassword() to set
password before opening");
+ throw new EncryptedDocumentException("document is encrypted,
password is invalid - use Biff8EncryptionKey.setCurrentUserPasswort() to set
password before opening");
}
} catch (GeneralSecurityException e) {
throw new IOException(e.getMessage(), e);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]