[java-shib-shared] 07/07: JSSH-71 Remove the impact of the DestructableComponent Interface

Codeberg noreply at shibboleth.net
Mon Jul 6 15:52:05 UTC 2026


This is an automated email from the git hooks/post-receive script.

codeberg pushed a commit to branch dev/JSSH-71
in repository java-shib-shared.

View the commit online:
https://codeberg.org/Shibboleth/java-shib-shared/commit/7fbfff2275eb4e418cd73808fe617ed4b8dd5bb6

commit 7fbfff2275eb4e418cd73808fe617ed4b8dd5bb6
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Mon Jul 6 16:51:36 2026 +0100

    JSSH-71 Remove the impact of the DestructableComponent Interface
    
    https://shibboleth.atlassian.net/browse/JSSH-71
    
    Remove function-free doDestroy() methods.
---
 .../shibboleth/shared/spring/service/NonReloadableTestBean.java    | 6 ------
 .../net/shibboleth/shared/spring/service/ReloadableTestBean.java   | 7 -------
 .../main/java/net/shibboleth/shared/xml/impl/BasicParserPool.java  | 7 -------
 3 files changed, 20 deletions(-)

diff --git a/shib-service/src/test/java/net/shibboleth/shared/spring/service/NonReloadableTestBean.java b/shib-service/src/test/java/net/shibboleth/shared/spring/service/NonReloadableTestBean.java
index 4b4ad70c..7d45fd04 100644
--- a/shib-service/src/test/java/net/shibboleth/shared/spring/service/NonReloadableTestBean.java
+++ b/shib-service/src/test/java/net/shibboleth/shared/spring/service/NonReloadableTestBean.java
@@ -48,12 +48,6 @@ public class NonReloadableTestBean extends AbstractInitializableComponent {
         log.debug("NonReloadableTestBean {} initialized", id);
     }
 
-    /** {@inheritDoc} */
-    protected void doDestroy() {
-        log.debug("NonReloadableTestBean {} destroyed", id);
-        
-        super.doDestroy();
-    }
     
     public ReloadableTestBean getChild() {
         log.debug("NonReloadableTestBean {} child getter called", id);
diff --git a/shib-service/src/test/java/net/shibboleth/shared/spring/service/ReloadableTestBean.java b/shib-service/src/test/java/net/shibboleth/shared/spring/service/ReloadableTestBean.java
index 6c016eba..1b6486f6 100644
--- a/shib-service/src/test/java/net/shibboleth/shared/spring/service/ReloadableTestBean.java
+++ b/shib-service/src/test/java/net/shibboleth/shared/spring/service/ReloadableTestBean.java
@@ -53,13 +53,6 @@ public class ReloadableTestBean extends AbstractInitializableComponent {
         log.debug("ReloadableTestBean {} initialized", id);
     }
 
-    /** {@inheritDoc} */
-    protected void doDestroy() {
-        log.debug("ReloadableTestBean {} destroyed", id);
-        
-        super.doDestroy();
-    }
-    
     /**
      * Get bean value.
      * 
diff --git a/shib-support/src/main/java/net/shibboleth/shared/xml/impl/BasicParserPool.java b/shib-support/src/main/java/net/shibboleth/shared/xml/impl/BasicParserPool.java
index 32c9bd2a..9723c3ee 100644
--- a/shib-support/src/main/java/net/shibboleth/shared/xml/impl/BasicParserPool.java
+++ b/shib-support/src/main/java/net/shibboleth/shared/xml/impl/BasicParserPool.java
@@ -657,13 +657,6 @@ public class BasicParserPool extends AbstractInitializableComponent implements P
         }
     }
 
-    /** {@inheritDoc} */
-    @Override
-    protected void doDestroy() {
-        builderPool.clear();
-        super.doDestroy();
-    }
-    
     /**
      * Build the default set of parser features to use.
      * 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list