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 0dbc62a02e3c605476526aac1328c1bf6f080eb0
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Aug 28 14:52:25 2026 -0400

    Javadoc: "hardened" -> "secure/securing" wording to match new class and
    method names.
    
    Rename test methods.
---
 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 1fac2f5..b8bb5cd 100644
--- a/src/main/java/org/apache/commons/xml/SecureXPathFactory.java
+++ b/src/main/java/org/apache/commons/xml/SecureXPathFactory.java
@@ -36,7 +36,7 @@
  * </p>
  * <p>
  * The guarantees also cover the document parse behind {@code 
XPath.evaluate(String, InputSource)} and {@code 
XPathExpression.evaluate(InputSource)}: the
- * input document is built through a hardened, namespace-aware {@link 
javax.xml.parsers.DocumentBuilder} instead of the engine's internal parser.
+ * input document is built through a secure, namespace-aware {@link 
javax.xml.parsers.DocumentBuilder} instead of the engine's internal parser.
  * </p>
  * <p>
  * Not a {@link XPathFactory} itself, so none of the JAXP static factory 
methods is inherited: a caller cannot reach a non-hardened factory through this 
class
@@ -73,7 +73,7 @@ public final class SecureXPathFactory {
      * </ul>
      *
      * @param factory The factory to harden.
-     * @return A new secure factory or the original factory, hardened, if it 
is a known Saxon factory.
+     * @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.
      */
     static XPathFactory secure(final XPathFactory factory) {

Reply via email to