incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r678806 - /incubator/sling/trunk/jcr/contentloader/src/main/java/org/apache/sling/jcr/contentloader/internal/Loader.java
Date Tue, 22 Jul 2008 17:04:48 GMT
Author: cziegeler
Date: Tue Jul 22 10:04:48 2008
New Revision: 678806

URL: http://svn.apache.org/viewvc?rev=678806&view=rev
Log:
Create sling:Folder as intermediate node.

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

Modified: incubator/sling/trunk/jcr/contentloader/src/main/java/org/apache/sling/jcr/contentloader/internal/Loader.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/jcr/contentloader/src/main/java/org/apache/sling/jcr/contentloader/internal/Loader.java?rev=678806&r1=678805&r2=678806&view=diff
==============================================================================
--- incubator/sling/trunk/jcr/contentloader/src/main/java/org/apache/sling/jcr/contentloader/internal/Loader.java
(original)
+++ incubator/sling/trunk/jcr/contentloader/src/main/java/org/apache/sling/jcr/contentloader/internal/Loader.java
Tue Jul 22 10:04:48 2008
@@ -567,7 +567,7 @@
             while ( st.hasMoreTokens() ) {
                 final String name = st.nextToken();
                 if ( !currentNode.hasNode(name) ) {
-                    currentNode.addNode(name, "nt:folder");
+                    currentNode.addNode(name, "sling:Folder");
                 }
                 currentNode = currentNode.getNode(name);
             }



Mime
View raw message