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 f23b0e5cb7fe0344f3438825b40a31b669ae9672
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Aug 28 14:34:50 2026 -0400

    Javadoc: "hardening" -> "secure/securing" wording to match new class and
    method names.
    
    Rename test methods.
---
 src/main/java/org/apache/commons/xml/SecureSAXParser.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/commons/xml/SecureSAXParser.java 
b/src/main/java/org/apache/commons/xml/SecureSAXParser.java
index 3646a60..3bd88db 100644
--- a/src/main/java/org/apache/commons/xml/SecureSAXParser.java
+++ b/src/main/java/org/apache/commons/xml/SecureSAXParser.java
@@ -36,7 +36,7 @@
  * SAX 1 ({@link #getParser()}) path gets the same hardening. The SAX 1 view 
matters because some consumers, such as Xalan's identity transformer, still ask
  * for a {@link Parser}.</p>
  *
- * <p>The secure reader is computed lazily on first access and cached: 
hardening an {@link XMLReader} can install a new wrapper (Android's Expat 
path), so
+ * <p>The secure reader is computed lazily on first access and cached: secure 
an {@link XMLReader} can install a new wrapper (Android's Expat path), so
  * every parse must run through the same instance. The {@code parse(...)} 
overloads inherited from {@link SAXParser} dispatch virtually to {@link 
#getXMLReader()}
  * and {@link #getParser()}, so they too run through the secure views without 
further overrides.</p>
  */
@@ -105,7 +105,7 @@ public boolean isXIncludeAware() {
     public void reset() {
         delegate.reset();
         // The JAXP reset contract reverts the delegate to its just-created 
state, which strips the post-creation reader hardening.
-        // We reset the cached readers, so hardening can be applied again.
+        // We reset the cached readers, so securing can be applied again.
         secureXMLReader = null;
         secureParser = null;
     }

Reply via email to