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 21:54:54 UTC
(commons-xml) 20/36: Javadoc: Use "secure" terminology.
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 8e4b5b1ab1151b3d6fc89082e22e1c9462c614e9
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Aug 28 17:48:04 2026 -0400
Javadoc: Use "secure" terminology.
---
src/test/java/org/apache/commons/xml/XIncludeTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/test/java/org/apache/commons/xml/XIncludeTest.java b/src/test/java/org/apache/commons/xml/XIncludeTest.java
index 19a469a..f883ad1 100644
--- a/src/test/java/org/apache/commons/xml/XIncludeTest.java
+++ b/src/test/java/org/apache/commons/xml/XIncludeTest.java
@@ -56,7 +56,7 @@ class XIncludeTest {
/**
* Allow-lists the two fixture URLs, returning the appropriate in-memory content for each: {@link #RESOLVED_MARKER}
* wrapped as XML for {@link #REFERENCED_XML}, and as plain text for {@link #REFERENCED_TEXT}. Anything else returns
- * {@code null} so the hardening's ignore-all floor empties it. Mirrors a caller allow-listing trusted resources.
+ * {@code null} so the securing's ignore-all floor empties it. Mirrors a caller allow-listing trusted resources.
*/
private static final class AllowListResolver implements EntityResolver {
@@ -85,7 +85,7 @@ public InputSource resolveEntity(final String publicId, final String systemId) {
/** Content the allow-list resolver returns for an allowed include; its presence proves the caller's resolver was consulted. */
private static final String RESOLVED_MARKER = "XINCLUDE-RESOLVED-905bbbce-16ee-4a0c-b165-d1f8c663934c";
- /** Resolver that resolves nothing, so the hardening's ignore-all floor must empty every lookup and never leak. */
+ /** Resolver that resolves nothing, so the securing's ignore-all floor must empty every lookup and never leak. */
private static final EntityResolver NO_OP_RESOLVER = (publicId, systemId) -> null;
/**