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:18:04 UTC

(commons-xml) 14/38: Javadoc: "hardened" -> "secured" 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 a297afaf937b13138199d72f7920eed66cd411b2
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Aug 28 13:54:01 2026 -0400

    Javadoc: "hardened" -> "secured" wording to match new class and method
    names.
---
 src/test/java/org/apache/commons/xml/ResetSecureTest.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/test/java/org/apache/commons/xml/ResetSecureTest.java b/src/test/java/org/apache/commons/xml/ResetSecureTest.java
index 0b966bc..4264c08 100644
--- a/src/test/java/org/apache/commons/xml/ResetSecureTest.java
+++ b/src/test/java/org/apache/commons/xml/ResetSecureTest.java
@@ -40,7 +40,7 @@
  * Checks that the JAXP {@code reset()} lifecycle methods do not strip the hardening floors.
  *
  * <p>The JAXP reset contract returns an object to its just-created state, and the stock JDK / Xerces implementations take that literally: they re-install
- * their initial (null) resolvers, silently removing any floor the hardened wrappers installed after creation. Each test resets a hardened object and asserts
+ * their initial (null) resolvers, silently removing any floor the secure wrappers installed after creation. Each test resets a secure object and asserts
  * that an external reference is still either blocked at parse or resolved to empty content afterwards; the tests are skipped on platforms whose
  * implementation does not support {@code reset()} at all (there the hardening cannot be stripped in the first place).</p>
  */
@@ -73,7 +73,7 @@ void documentBuilderResetKeepsEntityResolverFloor() throws Exception {
     @Tag("sax")
     void saxParserResetKeepsEntityResolverFloor() throws Exception {
         final SAXParser parser = SecureSAXParserFactory.newInstance().newSAXParser();
-        // Materialize the hardened reader before the reset, so a stale cached wrapper would be observable.
+        // Materialize the secure reader before the reset, so a stale cached wrapper would be observable.
         parser.getXMLReader();
         AttackTestSupport.assumeDoesNotThrow(parser::reset);
         final XMLReader reader = parser.getXMLReader();