Author: bdelacretaz
Date: Tue Oct 11 14:14:12 2016
New Revision: 1764251

URL: http://svn.apache.org/viewvc?rev=1764251&view=rev
Log:
Fix get properties bug

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=1764251&r1=1764250&r2=1764251&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
 Tue Oct 11 14:14:12 2016
@@ -497,7 +497,7 @@ public class ResourceResolverFactoryActi
 
         // the root of the resolver mappings
         mapRoot = PropertiesUtil.toString(properties.get(PROP_MAP_LOCATION), 
MapEntries.DEFAULT_MAP_ROOT);
-        observationPaths = 
PropertiesUtil.toStringArray(PROP_OBSERVATION_PATHS, new String[] {"/"});
+        observationPaths = 
PropertiesUtil.toStringArray(properties.get(PROP_OBSERVATION_PATHS), new 
String[] {"/"});
 
         defaultVanityPathRedirectStatus = 
PropertiesUtil.toInteger(properties.get(PROP_DEFAULT_VANITY_PATH_REDIRECT_STATUS),
                                                                    
MapEntries.DEFAULT_DEFAULT_VANITY_PATH_REDIRECT_STATUS);


Reply via email to