You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2015/01/28 16:29:24 UTC

svn commit: r1655361 - /sling/trunk/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/ResourceResolverFactoryActivator.java

Author: cziegeler
Date: Wed Jan 28 15:29:23 2015
New Revision: 1655361

URL: http://svn.apache.org/r1655361
Log:
SLING-4363 : Unregistering a resource provider should also reregister the resource resolver factory

Modified:
    sling/trunk/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/ResourceResolverFactoryActivator.java

Modified: sling/trunk/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/ResourceResolverFactoryActivator.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/ResourceResolverFactoryActivator.java?rev=1655361&r1=1655360&r2=1655361&view=diff
==============================================================================
--- sling/trunk/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/ResourceResolverFactoryActivator.java (original)
+++ sling/trunk/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/ResourceResolverFactoryActivator.java Wed Jan 28 15:29:23 2015
@@ -616,7 +616,7 @@ public class ResourceResolverFactoryActi
     protected void unbindResourceProvider(final ResourceProvider provider, final Map<String, Object> props) {
         this.rootProviderEntry.unbindResourceProvider(provider, props);
         this.preconds.unbindProvider(props);
-        this.addOperation(BG_OP.CHECK);
+        this.addOperation(BG_OP.UNREGISTER_AND_CHECK);
     }
 
     /**