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 7cf5b04673 Update HWPFDocumentCore.java
7cf5b04673 is described below
commit 7cf5b04673d8d8bae4cd027041f26566e81d2c8c
Author: PJ Fanning <[email protected]>
AuthorDate: Wed Mar 4 22:38:20 2026 +0100
Update HWPFDocumentCore.java
---
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 be8328280e..4fac6d2b0c 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.setCurrentUserPasswort() to set
password before opening");
+ throw new EncryptedDocumentException("document is encrypted,
password is invalid - use Biff8EncryptionKey.setCurrentUserPassword() 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]