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

Codeberg noreply at shibboleth.net
Fri May 22 15:55:03 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-attribute.

View the commit online:
https://codeberg.org/Shibboleth/java-shib-attribute/commit/1e5be4713de1d50bcc6413742048867eaa16b350

commit 1e5be4713de1d50bcc6413742048867eaa16b350
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Fri May 22 16:28:57 2026 +0100

    JSSH-71 Remove the impact of the DestructableComponent Interface
    
    https://shibboleth.atlassian.net/browse/JSSH-71
    
    Remove (run time) test on the on destroyed-state of a component.
---
 .../main/java/net/shibboleth/idp/attribute/filter/AttributeRule.java   | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/shib-attribute-filter-api/src/main/java/net/shibboleth/idp/attribute/filter/AttributeRule.java b/shib-attribute-filter-api/src/main/java/net/shibboleth/idp/attribute/filter/AttributeRule.java
index 3571a38f0..a25838f0e 100644
--- a/shib-attribute-filter-api/src/main/java/net/shibboleth/idp/attribute/filter/AttributeRule.java
+++ b/shib-attribute-filter-api/src/main/java/net/shibboleth/idp/attribute/filter/AttributeRule.java
@@ -67,7 +67,6 @@ public final class AttributeRule extends AbstractIdentifiableInitializableCompon
      * @return ID of the attribute to which this rule applies
      */
     @NonnullAfterInit public String getAttributeId() {
-        ifDestroyedThrowDestroyedComponentException();
         return attributeId;
     }
 
@@ -90,7 +89,6 @@ public final class AttributeRule extends AbstractIdentifiableInitializableCompon
      * @return matcher used to determine the attribute values filtered by this rule
      */
     @Nullable public Matcher getMatcher() {
-        ifDestroyedThrowDestroyedComponentException();
         return matcher;
     }
 
@@ -111,7 +109,6 @@ public final class AttributeRule extends AbstractIdentifiableInitializableCompon
      * @return whether the rule is a deny rule or not.
      */
     public boolean getIsDenyRule() {
-        ifDestroyedThrowDestroyedComponentException();
         return isDenyRule;
     }
 

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


More information about the commits mailing list