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 ced1f0997b7d470d36bdbf70c6c35594c33ad924 Author: Gary Gregory <[email protected]> AuthorDate: Fri Aug 28 14:50:14 2026 -0400 Javadoc: "hardened" -> "secure/securing" wording to match new class and method names. Rename test methods. --- src/test/java/org/apache/commons/xml/SaxSurfaceTestSupport.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/apache/commons/xml/SaxSurfaceTestSupport.java b/src/test/java/org/apache/commons/xml/SaxSurfaceTestSupport.java index 4dc42f9..b08b671 100644 --- a/src/test/java/org/apache/commons/xml/SaxSurfaceTestSupport.java +++ b/src/test/java/org/apache/commons/xml/SaxSurfaceTestSupport.java @@ -32,12 +32,12 @@ * Shared plumbing for the {@link SAXTransformerFactory} extension-surface tests ({@code TransformerHandlerTest}, {@code TemplatesHandlerTest}, * {@code XMLFilterTest}). * - * <p>The handler products consume SAX events the caller drives, so these tests need a reader to feed them; the feed reader is a hardened, namespace-aware one, + * <p>The handler products consume SAX events the caller drives, so these tests need a reader to feed them; the feed reader is a secure, namespace-aware one, * because the vector under test is what the <em>transform</em> resolves, not what the feed parses.</p> */ final class SaxSurfaceTestSupport { - /** Feeds the input's SAX events into the handler through a hardened, namespace-aware reader. */ + /** Feeds the input's SAX events into the handler through a secure, namespace-aware reader. */ static void feed(final ContentHandler handler, final InputSource input) throws Exception { final SAXParserFactory factory = SecureSAXParserFactory.newInstance(); factory.setNamespaceAware(true);
