[java-identity-provider] branch main updated: JSSH-5 ServiceableComponent should implement AutoClose

Rod Widdowson rdw at steadingsoftware.com
Fri Sep 30 10:00:50 UTC 2022


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

rdw pushed a commit to branch main
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=b644a32f415019ba4014c98c04a6230962a9230e

The following commit(s) were added to refs/heads/main by this push:
     new b644a32f4 JSSH-5 ServiceableComponent should implement AutoClose
b644a32f4 is described below

commit b644a32f415019ba4014c98c04a6230962a9230e
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Thu Sep 29 17:33:51 2022 +0100

    JSSH-5 ServiceableComponent should implement AutoClose
    
    https://shibboleth.atlassian.net/browse/JSSH-5
    
    ServiceableComponent no long requires pin, unpin, unload so remove from test classes
---
 .../revocation/impl/AttributeRevocationConditionTest.java      |  9 ++-------
 .../impl/AttributeDisplayNameDescriptionFunctionTest.java      | 10 +---------
 2 files changed, 3 insertions(+), 16 deletions(-)

diff --git a/idp-authn-impl/src/test/java/net/shibboleth/idp/authn/revocation/impl/AttributeRevocationConditionTest.java b/idp-authn-impl/src/test/java/net/shibboleth/idp/authn/revocation/impl/AttributeRevocationConditionTest.java
index 402df8cde..711d8b312 100644
--- a/idp-authn-impl/src/test/java/net/shibboleth/idp/authn/revocation/impl/AttributeRevocationConditionTest.java
+++ b/idp-authn-impl/src/test/java/net/shibboleth/idp/authn/revocation/impl/AttributeRevocationConditionTest.java
@@ -156,17 +156,12 @@ public class AttributeRevocationConditionTest extends BaseAuthenticationContextT
                     };
                 }
 
-                public void pinComponent() {
+                public void close() {
                 }
 
-                public void unpinComponent() {
-                }
-
-                public void unloadComponent() {
-                }
             };
         }
         
     }
     
-}
\ No newline at end of file
+}
diff --git a/idp-consent-impl/src/test/java/net/shibboleth/idp/consent/logic/impl/AttributeDisplayNameDescriptionFunctionTest.java b/idp-consent-impl/src/test/java/net/shibboleth/idp/consent/logic/impl/AttributeDisplayNameDescriptionFunctionTest.java
index 2e46d6c46..b2e58df17 100644
--- a/idp-consent-impl/src/test/java/net/shibboleth/idp/consent/logic/impl/AttributeDisplayNameDescriptionFunctionTest.java
+++ b/idp-consent-impl/src/test/java/net/shibboleth/idp/consent/logic/impl/AttributeDisplayNameDescriptionFunctionTest.java
@@ -200,15 +200,7 @@ public class AttributeDisplayNameDescriptionFunctionTest {
         }
 
         /** {@inheritDoc} */
-        public void pinComponent() {
-        }
-
-        /** {@inheritDoc} */
-        public void unpinComponent() {
-        }
-
-        /** {@inheritDoc} */
-        public void unloadComponent() {
+        public void close() {
         }
     }
 }

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


More information about the commits mailing list