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 ef3a678a91e6c023a1d830688ad40d08f9ae47bf
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Aug 28 17:40:28 2026 -0400

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

diff --git a/src/main/java/org/apache/commons/xml/SecureXPathFactory.java 
b/src/main/java/org/apache/commons/xml/SecureXPathFactory.java
index d7f9378..0ae024d 100644
--- a/src/main/java/org/apache/commons/xml/SecureXPathFactory.java
+++ b/src/main/java/org/apache/commons/xml/SecureXPathFactory.java
@@ -211,7 +211,7 @@ public static XPathFactory newInstance(final String uri, 
final String factoryCla
      *         the engine never parses.</li>
      * </ul>
      *
-     * @param factory The factory to harden.
+     * @param factory The factory to secure.
      * @return A new secure factory or the original factory, secure, if it is 
a known Saxon factory.
      * @throws SecureException Thrown if this {@link XPathFactory} or the 
{@code XPath}s it creates cannot support this feature.
      */
@@ -229,7 +229,7 @@ static XPathFactory secure(final XPathFactory factory) {
     /**
      * Sets a feature on the given factory, throwing a {@link SecureException} 
if the implementation does not recognize it.
      *
-     * @param factory The factory to harden.
+     * @param factory The factory to secure.
      * @param feature The feature to set.
      * @param value   The value to set.
      * @throws SecureException Thrown if this {@link XPathFactory} or the 
{@code XPath}s it creates cannot support this feature or if {@code feature} is

Reply via email to