You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by fm...@apache.org on 2007/12/03 10:39:39 UTC

svn commit: r600458 - /incubator/sling/trunk/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceManager.java

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)) {