[java-opensaml COMMIT] /trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/metadata/resolver/impl/AbstractMetad...

noreply at shibboleth.net noreply at shibboleth.net
Fri Oct 3 20:53:22 EDT 2014


Author: putmanb
Date: Fri Oct  3 20:53:21 2014
New Revision: 4099

URL: http://svn.shibboleth.net/view/java-opensaml?rev=4099&view=rev
Log:
Add missing check for destroyed component.

Modified:
    trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/metadata/resolver/impl/AbstractMetadataResolver.java

Modified: trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/metadata/resolver/impl/AbstractMetadataResolver.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/metadata/resolver/impl/AbstractMetadataResolver.java?rev=4099&r1=4098&r2=4099&view=diff
==============================================================================
--- trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/metadata/resolver/impl/AbstractMetadataResolver.java (original)
+++ trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/metadata/resolver/impl/AbstractMetadataResolver.java Fri Oct  3 20:53:21 2014
@@ -162,6 +162,7 @@
     /** {@inheritDoc} */
     @Override @Nullable public EntityDescriptor resolveSingle(CriteriaSet criteria) throws ResolverException {
         ComponentSupport.ifNotInitializedThrowUninitializedComponentException(this);
+        ComponentSupport.ifDestroyedThrowDestroyedComponentException(this);
 
         Iterable<EntityDescriptor> iterable = resolve(criteria);
         if (iterable != null) {



More information about the commits mailing list