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 6df7de110a795c061e9916e9f77a824143e04652
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Aug 28 17:43:01 2026 -0400

    Javadoc: Use "secure" terminology.
---
 src/main/java/org/apache/commons/xml/SecureSAXParserFactory.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/org/apache/commons/xml/SecureSAXParserFactory.java 
b/src/main/java/org/apache/commons/xml/SecureSAXParserFactory.java
index 7873404..9dfb7a7 100644
--- a/src/main/java/org/apache/commons/xml/SecureSAXParserFactory.java
+++ b/src/main/java/org/apache/commons/xml/SecureSAXParserFactory.java
@@ -333,7 +333,7 @@ static XMLReader newSecureXMLReader(final boolean 
overrideDefaultParser) throws
      *         chain its own resolver onto the floor to allow-list resources, 
but cannot remove it.</li>
      * </ul>
      *
-     * @param factory the factory to harden; never {@code null}.
+     * @param factory the factory to secure; never {@code null}.
      * @return a secure factory.
      */
     static SAXParserFactory secure(final SAXParserFactory factory) {
@@ -352,7 +352,7 @@ static SAXParserFactory secure(final SAXParserFactory 
factory) {
      * as-is. Used by the TrAX and schema wrappers to route every source they 
parse through the SAX secure path.
      * </p>
      *
-     * @param source           the source to harden; never {@code null}.
+     * @param source           the source to secure; never {@code null}.
      * @param overrideDefaultParser whether {@value #OVERRIDE_DEFAULT_PARSER} 
on the originating factory asks to override the JDK's default parser.
      * @return a secure source.
      * @throws TransformerConfigurationException if a secure reader cannot be 
obtained.
@@ -370,7 +370,7 @@ static Source secure(final Source source, final boolean 
overrideDefaultParser) t
     /**
      * Secures an existing {@link XMLReader}.
      *
-     * @param reader The reader to harden; never {@code null}.
+     * @param reader The reader to secure; never {@code null}.
      * @return A secure reader.
      * @throws IllegalStateException if a required secure setting cannot be 
applied to the underlying implementation.
      */

Reply via email to