incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r726817 - /incubator/sling/trunk/api/src/main/java/org/apache/sling/api/resource/ResourceUtil.java
Date Mon, 15 Dec 2008 21:48:49 GMT
Author: fmeschbe
Date: Mon Dec 15 13:48:48 2008
New Revision: 726817

URL: http://svn.apache.org/viewvc?rev=726817&view=rev
Log:
SLING-779 use ResourceResolver.getResource() in ResourceUtil.getParent(Resource)

Modified:
    incubator/sling/trunk/api/src/main/java/org/apache/sling/api/resource/ResourceUtil.java

Modified: incubator/sling/trunk/api/src/main/java/org/apache/sling/api/resource/ResourceUtil.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/api/src/main/java/org/apache/sling/api/resource/ResourceUtil.java?rev=726817&r1=726816&r2=726817&view=diff
==============================================================================
--- incubator/sling/trunk/api/src/main/java/org/apache/sling/api/resource/ResourceUtil.java
(original)
+++ incubator/sling/trunk/api/src/main/java/org/apache/sling/api/resource/ResourceUtil.java
Mon Dec 15 13:48:48 2008
@@ -152,7 +152,7 @@
         if ( parentPath == null ) {
             return null;
         }
-        return rsrc.getResourceResolver().resolve(parentPath);
+        return rsrc.getResourceResolver().getResource(parentPath);
     }
 
     /**



Mime
View raw message