incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asa...@apache.org
Subject svn commit: r1601644 - /sling/trunk/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/mapping/MapEntries.java
Date Tue, 10 Jun 2014 14:17:03 GMT
Author: asanso
Date: Tue Jun 10 14:17:02 2014
New Revision: 1601644

URL: http://svn.apache.org/r1601644
Log:
SLING-3563 - Removal of node with sling:alias property is ignored by sling resource resolution

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

Modified: sling/trunk/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/mapping/MapEntries.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/mapping/MapEntries.java?rev=1601644&r1=1601643&r2=1601644&view=diff
==============================================================================
--- sling/trunk/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/mapping/MapEntries.java
(original)
+++ sling/trunk/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/mapping/MapEntries.java
Tue Jun 10 14:17:02 2014
@@ -399,7 +399,7 @@ public class MapEntries implements Event
                 }
             }
             for (final String target : this.aliasMap.keySet()) {
-                if (target.startsWith(checkPath)) {
+                if (checkPath.startsWith(target)) { 
                     doInit = true;
                     break;
                 }



Mime
View raw message