You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2026/08/28 18:43:57 UTC
(commons-xml) 08/17: Javadoc: "hardening" -> "secure/securing" wording to match new class and method names.
This is an automated email from the ASF dual-hosted git repository.
garydgregory pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/commons-xml.git
commit 8ca4b05bd4173488ca46a4e7662fdda16f2d5529
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Aug 28 14:34:29 2026 -0400
Javadoc: "hardening" -> "secure/securing" wording to match new class and
method names.
Rename test methods.
---
src/main/java/org/apache/commons/xml/SecureException.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/java/org/apache/commons/xml/SecureException.java b/src/main/java/org/apache/commons/xml/SecureException.java
index bcfd9dd..629841b 100644
--- a/src/main/java/org/apache/commons/xml/SecureException.java
+++ b/src/main/java/org/apache/commons/xml/SecureException.java
@@ -22,8 +22,8 @@
*
* <p>Two failure modes share this type:</p>
* <ul>
- * <li>No bundled hardening recipe matches the concrete factory class.</li>
- * <li>A recipe tried to apply a hardening setting and the implementation rejected it.</li>
+ * <li>No bundled secure recipe matches the concrete factory class.</li>
+ * <li>A recipe tried to apply a secure setting and the implementation rejected it.</li>
* </ul>
*
* <p>The message names the unsupported factory class or the specific feature, attribute or property that failed; the cause, when present, is the original
@@ -51,7 +51,7 @@ static String forbidden(final String type, final String namespace, final String
}
/**
- * Builds the standard exception for a rejected hardening setting.
+ * Builds the standard exception for a rejected secure setting.
*
* @param kind the kind of setting: {@code "feature"}, {@code "attribute"} or {@code "property"}.
* @param name the name of the feature, attribute or property that could not be set.