This is an automated email from the ASF dual-hosted git repository.

ppkarwasz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/commons-secure-xml.git


The following commit(s) were added to refs/heads/main by this push:
     new 1bbbc91  Don't need protected method in final class (#77)
1bbbc91 is described below

commit 1bbbc91e8a1d3a0c97276f9b6396e261233f9361
Author: Elliotte Rusty Harold <[email protected]>
AuthorDate: Tue Sep 1 13:34:14 2026 +0000

    Don't need protected method in final class (#77)
---
 .../org/apache/commons/xml/secure/FallbackIgnoreEntityResolver2.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/main/java/org/apache/commons/xml/secure/FallbackIgnoreEntityResolver2.java
 
b/src/main/java/org/apache/commons/xml/secure/FallbackIgnoreEntityResolver2.java
index d2322e8..b920d96 100644
--- 
a/src/main/java/org/apache/commons/xml/secure/FallbackIgnoreEntityResolver2.java
+++ 
b/src/main/java/org/apache/commons/xml/secure/FallbackIgnoreEntityResolver2.java
@@ -113,7 +113,7 @@ public InputSource getExternalSubset(final String name, 
final String baseURI) th
      * @throws SAXException when {@value SecureException#THROW_ON_UNRESOLVED} 
is set: unresolved references are rejected instead of resolved to empty.
      * @throws IOException  never by the default implementation.
      */
-    protected InputSource onUnresolved(final String name, final String 
publicId, final String baseURI, final String systemId) throws SAXException, 
IOException {
+    private InputSource onUnresolved(final String name, final String publicId, 
final String baseURI, final String systemId) throws SAXException, IOException {
         if (SecureException.throwOnUnresolved()) {
             throw new SAXException(SecureException.forbidden(name, null, 
publicId, systemId, baseURI));
         }

Reply via email to