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


The following commit(s) were added to refs/heads/main by this push:
     new 117f1e4  Javadoc
117f1e4 is described below

commit 117f1e44121d1e8cd7a9cb10c08eff63c1197b2a
Author: Gary Gregory <[email protected]>
AuthorDate: Sat Jul 11 08:48:29 2026 -0400

    Javadoc
---
 src/main/java/org/apache/commons/xml/Resolvers.java         | 6 +++---
 src/test/java/org/apache/commons/xml/AttackTestSupport.java | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/apache/commons/xml/Resolvers.java 
b/src/main/java/org/apache/commons/xml/Resolvers.java
index 17d89ef..c807427 100644
--- a/src/main/java/org/apache/commons/xml/Resolvers.java
+++ b/src/main/java/org/apache/commons/xml/Resolvers.java
@@ -239,7 +239,7 @@ public final Object resolveEntity(final String publicID, 
final String systemID,
          * @param systemID the system identifier of the unresolved entity.
          * @param baseURI  the base URI for relative resolution, or {@code 
null}.
          * @param namespace the namespace (or, for Woodstox, the entity name), 
or {@code null}.
-         * @return the replacement input, or a value the caller's parser 
accepts; the default implementation never returns normally.
+         * @return The replacement input, or a value the caller's parser 
accepts; the default implementation never returns normally.
          * @throws XMLStreamException to deny the lookup (the default 
behavior).
          */
         protected Object onUnresolved(final String publicID, final String 
systemID, final String baseURI, final String namespace) throws 
XMLStreamException {
@@ -254,7 +254,7 @@ protected Object onUnresolved(final String publicID, final 
String systemID, fina
          * @param systemID the system identifier of the unresolved entity.
          * @param baseURI  the base URI for relative resolution, or {@code 
null}.
          * @param namespace the namespace (or, for Woodstox, the entity name), 
or {@code null}.
-         * @return the exception to throw.
+         * @return The exception to throw.
          */
         protected final XMLStreamException denied(final String publicID, final 
String systemID, final String baseURI, final String namespace) {
             return new XMLStreamException(forbiddenMessage(null, namespace, 
publicID, systemID, baseURI));
@@ -289,7 +289,7 @@ protected Object onUnresolved(final String publicID, final 
String systemID, fina
      *
      * @param baseURI  the absolute base URI to resolve against, or {@code 
null} if none is available.
      * @param systemId the system identifier, possibly relative to {@code 
baseURI}.
-     * @return the absolutized system identifier, or {@code systemId} 
unchanged when it cannot or need not be resolved.
+     * @return The absolutized system identifier, or {@code systemId} 
unchanged when it cannot or need not be resolved.
      */
     private static String absolutize(final String baseURI, final String 
systemId) {
         if (systemId == null || baseURI == null) {
diff --git a/src/test/java/org/apache/commons/xml/AttackTestSupport.java 
b/src/test/java/org/apache/commons/xml/AttackTestSupport.java
index c0ebd67..6cb93f0 100644
--- a/src/test/java/org/apache/commons/xml/AttackTestSupport.java
+++ b/src/test/java/org/apache/commons/xml/AttackTestSupport.java
@@ -636,7 +636,7 @@ static void assumeDoesNotThrow(final Executable action) {
      * Builds the failure message used by every {@code assert*Blocks(...)} 
helper.
      *
      * @param description short label naming the JAXP surface under test.
-     * @return the assertion-failure message string.
+     * @return The assertion-failure message string.
      */
     private static String blockedDescription(final String description) {
         return "Hardening did not block " + description + "; parse completed 
successfully.";

Reply via email to