incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1345970 - in /sling/whiteboard/SLING-2396: jcr.resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrPropertyResource.java resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/ResourceResolverImpl.java
Date Mon, 04 Jun 2012 13:54:35 GMT
Author: cziegeler
Date: Mon Jun  4 13:54:34 2012
New Revision: 1345970

URL: http://svn.apache.org/viewvc?rev=1345970&view=rev
Log:
SLING-2396 : Add new resource provider interfaces (WiP)

Modified:
    sling/whiteboard/SLING-2396/jcr.resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrPropertyResource.java
    sling/whiteboard/SLING-2396/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/ResourceResolverImpl.java

Modified: sling/whiteboard/SLING-2396/jcr.resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrPropertyResource.java
URL: http://svn.apache.org/viewvc/sling/whiteboard/SLING-2396/jcr.resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrPropertyResource.java?rev=1345970&r1=1345969&r2=1345970&view=diff
==============================================================================
--- sling/whiteboard/SLING-2396/jcr.resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrPropertyResource.java
(original)
+++ sling/whiteboard/SLING-2396/jcr.resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrPropertyResource.java
Mon Jun  4 13:54:34 2012
@@ -52,9 +52,9 @@ public class JcrPropertyResource extends
 
     private final String resourceType;
 
-    public JcrPropertyResource(ResourceResolver resourceResolver,
-                               String path,
-                               Property property)
+    public JcrPropertyResource(final ResourceResolver resourceResolver,
+                               final String path,
+                               final Property property)
     throws RepositoryException {
         super(resourceResolver, path);
         this.property = property;
@@ -68,8 +68,8 @@ public class JcrPropertyResource extends
         this.setContentLength(property);
     }
 
-    public JcrPropertyResource(ResourceResolver resourceResolver,
-                               Property property)
+    public JcrPropertyResource(final ResourceResolver resourceResolver,
+                               final Property property)
     throws RepositoryException {
         this(resourceResolver, property.getPath(), property);
     }

Modified: sling/whiteboard/SLING-2396/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/ResourceResolverImpl.java
URL: http://svn.apache.org/viewvc/sling/whiteboard/SLING-2396/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/ResourceResolverImpl.java?rev=1345970&r1=1345969&r2=1345970&view=diff
==============================================================================
--- sling/whiteboard/SLING-2396/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/ResourceResolverImpl.java
(original)
+++ sling/whiteboard/SLING-2396/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/ResourceResolverImpl.java
Mon Jun  4 13:54:34 2012
@@ -124,7 +124,7 @@ public class ResourceResolverImpl extend
         this.factory.getRootProviderEntry().loginToRequiredFactories(newContext);
 
         // create a regular resource resolver
-        return new ResourceResolverImpl(this.factory, this.context);
+        return new ResourceResolverImpl(this.factory, newContext);
     }
 
     /**



Mime
View raw message