incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r600458 - /incubator/sling/trunk/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceManager.java
Date Mon, 03 Dec 2007 09:39:39 GMT
Author: fmeschbe
Date: Mon Dec  3 01:39:34 2007
New Revision: 600458

URL: http://svn.apache.org/viewvc?rev=600458&view=rev
Log:
Remove Reference to BundleResource class not in SVN yet

Modified:
    incubator/sling/trunk/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceManager.java

Modified: incubator/sling/trunk/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceManager.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceManager.java?rev=600458&r1=600457&r2=600458&view=diff
==============================================================================
--- incubator/sling/trunk/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceManager.java
(original)
+++ incubator/sling/trunk/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceManager.java
Mon Dec  3 01:39:34 2007
@@ -49,7 +49,6 @@
 import org.apache.sling.jcr.resource.DefaultMappedObject;
 import org.apache.sling.jcr.resource.JcrResourceUtil;
 import org.apache.sling.jcr.resource.PathResolver;
-import org.apache.sling.jcr.resource.internal.helper.BundleResource;
 import org.apache.sling.jcr.resource.internal.helper.Descendable;
 import org.apache.sling.jcr.resource.internal.helper.JcrNodeResource;
 import org.apache.sling.jcr.resource.internal.helper.JcrNodeResourceIterator;
@@ -563,15 +562,6 @@
      */
     protected Resource getResourceInternal(String path, Class<?> type)
             throws RepositoryException {
-
-        // check bundle resources
-        Bundle bundle = factory.getBundleForResource(path);
-        if (bundle != null) {
-            Resource result = BundleResource.getResource(bundle, path);
-            if (result != null) {
-                return result;
-            }
-        }
 
         // check JCR repository
         if (itemExists(path)) {



Mime
View raw message