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 5c4fdf9df6d720ba469966a0480e7b4dc246ed2f
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Aug 28 17:53:30 2026 -0400

    Javadoc: Use "secure" terminology.
---
 src/main/java/org/apache/commons/xml/SaxonProvider.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/commons/xml/SaxonProvider.java 
b/src/main/java/org/apache/commons/xml/SaxonProvider.java
index b8d3caf..83632e3 100644
--- a/src/main/java/org/apache/commons/xml/SaxonProvider.java
+++ b/src/main/java/org/apache/commons/xml/SaxonProvider.java
@@ -127,7 +127,7 @@ static TransformerFactory configure(final 
TransformerFactory factory) {
         try {
             return SaxonProviderConfigurer.configure(factory);
         } catch (final ClassCastException e) {
-            // A Saxon-package factory the configurer cannot lock down; refuse 
it rather than returning it unhardened.
+            // A Saxon-package factory the configurer cannot lock down; refuse 
it rather than returning it unsecured.
             throw new SecureException("Unsupported Saxon TransformerFactory " 
+ factory.getClass().getName(), e);
         }
     }
@@ -136,7 +136,7 @@ static XPathFactory configure(final XPathFactory factory) {
         try {
             return SaxonProviderConfigurer.configure(factory);
         } catch (final ClassCastException e) {
-            // A Saxon-package factory the configurer cannot lock down; refuse 
it rather than returning it unhardened.
+            // A Saxon-package factory the configurer cannot lock down; refuse 
it rather than returning it unsecured.
             throw new SecureException("Unsupported Saxon XPathFactory " + 
factory.getClass().getName(), e);
         }
     }

Reply via email to