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

Codeberg noreply at shibboleth.net
Mon Jul 20 12:31:37 UTC 2026


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

codeberg pushed a commit to branch main
in repository java-shib-shared.

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

commit d6362f68b1bac73a9e1a5abb243e130eb95d3be3
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Sat Jul 18 14:53:31 2026 +0100

    JSSH-71 Remove the impact of the DestructableComponent Interface
    
    https://shibboleth.atlassian.net/browse/JSSH-71
    
    Remove extraneous destroy in a test
---
 .../shared/xml/impl/BasicParserPoolTest.java       | 24 ++++++++++------------
 1 file changed, 11 insertions(+), 13 deletions(-)

diff --git a/shib-support/src/test/java/net/shibboleth/shared/xml/impl/BasicParserPoolTest.java b/shib-support/src/test/java/net/shibboleth/shared/xml/impl/BasicParserPoolTest.java
index ae3ca073..95180825 100644
--- a/shib-support/src/test/java/net/shibboleth/shared/xml/impl/BasicParserPoolTest.java
+++ b/shib-support/src/test/java/net/shibboleth/shared/xml/impl/BasicParserPoolTest.java
@@ -31,18 +31,6 @@ import javax.annotation.Nonnull;
 import javax.xml.parsers.DocumentBuilder;
 import javax.xml.validation.Schema;
 
-import net.shibboleth.shared.annotation.constraint.NotEmpty;
-import net.shibboleth.shared.component.ComponentInitializationException;
-import net.shibboleth.shared.component.DestroyedComponentException;
-import net.shibboleth.shared.component.UninitializedComponentException;
-import net.shibboleth.shared.component.UnmodifiableComponentException;
-import net.shibboleth.shared.logic.ConstraintViolationException;
-import net.shibboleth.shared.xml.ElementSupport;
-import net.shibboleth.shared.xml.NamespaceSupport;
-import net.shibboleth.shared.xml.SchemaBuilder;
-import net.shibboleth.shared.xml.XMLParserException;
-import net.shibboleth.shared.xml.impl.BasicParserPool.DocumentBuilderProxy;
-
 import org.testng.Assert;
 import org.testng.annotations.BeforeMethod;
 import org.testng.annotations.Test;
@@ -54,6 +42,17 @@ import org.xml.sax.InputSource;
 import org.xml.sax.SAXException;
 import org.xml.sax.SAXParseException;
 
+import net.shibboleth.shared.annotation.constraint.NotEmpty;
+import net.shibboleth.shared.component.ComponentInitializationException;
+import net.shibboleth.shared.component.UninitializedComponentException;
+import net.shibboleth.shared.component.UnmodifiableComponentException;
+import net.shibboleth.shared.logic.ConstraintViolationException;
+import net.shibboleth.shared.xml.ElementSupport;
+import net.shibboleth.shared.xml.NamespaceSupport;
+import net.shibboleth.shared.xml.SchemaBuilder;
+import net.shibboleth.shared.xml.XMLParserException;
+import net.shibboleth.shared.xml.impl.BasicParserPool.DocumentBuilderProxy;
+
 /**
  * Tests for {@link NamespaceSupport}
  */
@@ -341,7 +340,6 @@ public class BasicParserPoolTest {
         }
         Assert.assertFalse(thrown, "double initialize after init");
 
-        basicParserPool.destroy();
     }
     
     private void checkParsedDocument(Document document) {

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


More information about the commits mailing list