incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1213731 - /sling/trunk/installer/providers/jcr/src/main/java/org/apache/sling/installer/provider/jcr/impl/JcrInstaller.java
Date Tue, 13 Dec 2011 15:11:30 GMT
Author: cziegeler
Date: Tue Dec 13 15:11:30 2011
New Revision: 1213731

URL: http://svn.apache.org/viewvc?rev=1213731&view=rev
Log:
Ignore paths from other resource providers.

Modified:
    sling/trunk/installer/providers/jcr/src/main/java/org/apache/sling/installer/provider/jcr/impl/JcrInstaller.java

Modified: sling/trunk/installer/providers/jcr/src/main/java/org/apache/sling/installer/provider/jcr/impl/JcrInstaller.java
URL: http://svn.apache.org/viewvc/sling/trunk/installer/providers/jcr/src/main/java/org/apache/sling/installer/provider/jcr/impl/JcrInstaller.java?rev=1213731&r1=1213730&r2=1213731&view=diff
==============================================================================
--- sling/trunk/installer/providers/jcr/src/main/java/org/apache/sling/installer/provider/jcr/impl/JcrInstaller.java
(original)
+++ sling/trunk/installer/providers/jcr/src/main/java/org/apache/sling/installer/provider/jcr/impl/JcrInstaller.java
Tue Dec 13 15:11:30 2011
@@ -606,6 +606,7 @@ public class JcrInstaller implements Eve
         }
         return path;
     }
+
     /**
      * Internal implementation of update handling
      */
@@ -630,7 +631,7 @@ public class JcrInstaller implements Eve
 
             final String path;
             boolean resourceIsMoved = true;
-            if ( url != null ) {
+            if ( url != null && url.startsWith(URL_SCHEME + ':')) {
                 // update
                 final int pos = url.indexOf(':');
                 final String oldPath = url.substring(pos + 1);



Mime
View raw message