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 06e6fe72ddfac2e0a843a800d960e2fcab699500
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Aug 28 17:45:02 2026 -0400

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

diff --git a/src/main/java/org/apache/commons/xml/SecureSchemaFactory.java 
b/src/main/java/org/apache/commons/xml/SecureSchemaFactory.java
index 7be84ba..a8bdc11 100644
--- a/src/main/java/org/apache/commons/xml/SecureSchemaFactory.java
+++ b/src/main/java/org/apache/commons/xml/SecureSchemaFactory.java
@@ -163,7 +163,7 @@ private boolean overrideDefaultParser() {
         /**
          * Secures every schema source through {@link 
SecureSAXParserFactory#secure(Source, boolean)}.
          *
-         * @param schemas the schema sources to harden; must not be {@code 
null}.
+         * @param schemas the schema sources to secure; must not be {@code 
null}.
          * @return a new array of secure sources.
          * @throws SAXException if any source cannot be secure.
          * @throws FactoryConfigurationError Thrown from a factory in case of 
a {@link java.util.ServiceConfigurationError service
@@ -268,7 +268,7 @@ public static SchemaFactory newInstance(final String 
schemaLanguage, final Strin
      * every implementation. The reader used to parse schema and instance 
documents is secure separately, through
      * {@link SecureSAXParserFactory#secure(javax.xml.transform.Source, 
boolean)}.</p>
      *
-     * @param factory the factory to harden; never {@code null}.
+     * @param factory the factory to secure; never {@code null}.
      * @return a secure factory.
      */
     static SchemaFactory secure(final SchemaFactory factory) {

Reply via email to