incubator-sling-commits mailing list archives

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

URL: http://svn.apache.org/r1528769
Log:
SLING-2917 style

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=1528769&r1=1528768&r2=1528769&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 09:42:21 2013
@@ -412,14 +412,15 @@ public class Loader extends BaseImportLo
 
             Node node = null;
             if (foundProvider) {
-                if ((node = createNode(parent, name, file, configuration, contentCreator))
!= null) {
-                    log.debug("Created node as {} {} ", node.getPath(), name);
+                node = createNode(parent, name, file, configuration, contentCreator);
+                if (node != null) {
+                    log.debug("Created node as {} {}", node.getPath(), name);
                     processedEntries.put(file.toString(), node);
                 } else {
-                    log.warn("No node created for file {} {} ", file, name);
+                    log.warn("No node created for file {} {}", file, name);
                 }
             } else {
-                log.debug("Can't find provider for entry {} at {} ", entry, name);
+                log.debug("Can't find provider for entry {} at {}", entry, name);
             }
 
             // otherwise just place as file



Mime
View raw message