incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1142669 - /sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/MapEntries.java
Date Mon, 04 Jul 2011 13:59:29 GMT
Author: cziegeler
Date: Mon Jul  4 13:59:28 2011
New Revision: 1142669

URL: http://svn.apache.org/viewvc?rev=1142669&view=rev
Log:
SLING-2125 : Jcr Resource mappings are not all applied when a certain number of mapping entries
is created

Modified:
    sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/MapEntries.java

Modified: sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/MapEntries.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/MapEntries.java?rev=1142669&r1=1142668&r2=1142669&view=diff
==============================================================================
--- sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/MapEntries.java
(original)
+++ sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/MapEntries.java
Mon Jul  4 13:59:28 2011
@@ -133,6 +133,9 @@ public class MapEntries implements Event
             // load the configuration into the mapper map
             loadMapConfiguration(factory, newMapMaps);
 
+            // sort List
+            Collections.sort(newResolveMaps);
+
             this.resolveMaps = newResolveMaps;
             this.mapMaps = new TreeSet<MapEntry>(newMapMaps.values());
 



Mime
View raw message