You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2026/08/28 18:55:15 UTC
(commons-xml) 15/20: Javadoc: "hardened" -> "secure/securing" wording to match new class and method names.
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 aa9c59fb8b500ec4bc9e6e06f124e5c890b92a93
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Aug 28 14:52:07 2026 -0400
Javadoc: "hardened" -> "secure/securing" wording to match new class and
method names.
Rename test methods.
---
src/main/java/org/apache/commons/xml/SecureXPath.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/apache/commons/xml/SecureXPath.java b/src/main/java/org/apache/commons/xml/SecureXPath.java
index c63ab0f..bf3cc3f 100644
--- a/src/main/java/org/apache/commons/xml/SecureXPath.java
+++ b/src/main/java/org/apache/commons/xml/SecureXPath.java
@@ -37,7 +37,7 @@
import org.xml.sax.SAXException;
/**
- * {@link XPath} wrapper that performs the document build behind every {@link InputSource}-taking {@code evaluate} call with a hardened, namespace-aware
+ * {@link XPath} wrapper that performs the document build behind every {@link InputSource}-taking {@code evaluate} call with a secure, namespace-aware
* {@link javax.xml.parsers.DocumentBuilder} and evaluates the delegate against the parsed {@link Document}, so the engine's own parser never runs.
*
* <p>The JAXP contract for {@link XPath#evaluate(String, InputSource, QName)} is "build a document from the source, then evaluate against it", and both the
@@ -52,7 +52,7 @@
final class SecureXPath implements XPath {
/**
- * Parses the source through a hardened, namespace-aware {@link javax.xml.parsers.DocumentBuilder}, mirroring the namespace awareness of the parser the
+ * Parses the source through a secure, namespace-aware {@link javax.xml.parsers.DocumentBuilder}, mirroring the namespace awareness of the parser the
* engine would have provisioned.
*
* @param source The document to evaluate against.