incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o...@apache.org
Subject svn commit: r1528756 - /sling/trunk/bundles/jcr/contentloader/src/main/java/org/apache/sling/jcr/contentloader/internal/Loader.java
Date Thu, 03 Oct 2013 08:55:15 GMT
Author: olli
Date: Thu Oct  3 08:55:15 2013
New Revision: 1528756

URL: http://svn.apache.org/r1528756
Log:
SLING-2917 remove unused param session from method importParentNode(Session, Bundle, String,
Node, DefaultContentCreator):URL

Modified:
    sling/trunk/bundles/jcr/contentloader/src/main/java/org/apache/sling/jcr/contentloader/internal/Loader.java

Modified: sling/trunk/bundles/jcr/contentloader/src/main/java/org/apache/sling/jcr/contentloader/internal/Loader.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/contentloader/src/main/java/org/apache/sling/jcr/contentloader/internal/Loader.java?rev=1528756&r1=1528755&r2=1528756&view=diff
==============================================================================
--- sling/trunk/bundles/jcr/contentloader/src/main/java/org/apache/sling/jcr/contentloader/internal/Loader.java
(original)
+++ sling/trunk/bundles/jcr/contentloader/src/main/java/org/apache/sling/jcr/contentloader/internal/Loader.java
Thu Oct  3 08:55:15 2013
@@ -329,7 +329,7 @@ public class Loader extends BaseImportLo
         }
 
         // potential parent node import/extension
-        URL parentNodeDescriptor = importParentNode(parent.getSession(), bundle, path, parent,
contentCreator);
+        URL parentNodeDescriptor = importParentNode(bundle, path, parent, contentCreator);
         if (parentNodeDescriptor != null) {
             processedEntries.put(parentNodeDescriptor.toString(), parent);
         }
@@ -755,7 +755,7 @@ public class Loader extends BaseImportLo
      * Imports mixin nodes and properties (and optionally child nodes) of the
      * parent node.
      */
-    private URL importParentNode(Session session, Bundle bundle, String path, Node parent,
final DefaultContentCreator contentCreator) throws RepositoryException {
+    private URL importParentNode(Bundle bundle, String path, Node parent, final DefaultContentCreator
contentCreator) throws RepositoryException {
 
         final Descriptor descriptor = getParentNodeDescriptor(bundle, path, contentCreator);
         // no parent descriptor (ROOT) found



Mime
View raw message