incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r1483841 - /sling/trunk/launchpad/test-services/src/main/java/org/apache/sling/launchpad/testservices/resourceprovider/PlanetsResourceProvider.java
Date Fri, 17 May 2013 15:03:40 GMT
Author: bdelacretaz
Date: Fri May 17 15:03:40 2013
New Revision: 1483841

URL: http://svn.apache.org/r1483841
Log:
don't take this as a best practice ;-)

Modified:
    sling/trunk/launchpad/test-services/src/main/java/org/apache/sling/launchpad/testservices/resourceprovider/PlanetsResourceProvider.java

Modified: sling/trunk/launchpad/test-services/src/main/java/org/apache/sling/launchpad/testservices/resourceprovider/PlanetsResourceProvider.java
URL: http://svn.apache.org/viewvc/sling/trunk/launchpad/test-services/src/main/java/org/apache/sling/launchpad/testservices/resourceprovider/PlanetsResourceProvider.java?rev=1483841&r1=1483840&r2=1483841&view=diff
==============================================================================
--- sling/trunk/launchpad/test-services/src/main/java/org/apache/sling/launchpad/testservices/resourceprovider/PlanetsResourceProvider.java
(original)
+++ sling/trunk/launchpad/test-services/src/main/java/org/apache/sling/launchpad/testservices/resourceprovider/PlanetsResourceProvider.java
Fri May 17 15:03:40 2013
@@ -91,6 +91,7 @@ public class PlanetsResourceProvider imp
     /** ResourceProvider interface */
     public Iterator<Resource> listChildren(Resource parent) {
         if(parent.getPath().startsWith(ABS_ROOT)) {
+            // Not the most efficient thing...good enough for this example
             final List<Resource> kids = new ArrayList<Resource>();
             for(Map.Entry<String, ValueMap> e : PLANETS.entrySet()) {
                 if(parent.getPath().equals(parentPath(e.getKey()))) {



Mime
View raw message