sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tom...@apache.org
Subject svn commit: r1668853 - /sling/trunk/bundles/jcr/contentloader/src/main/java/org/apache/sling/jcr/contentloader/internal/BundleContentLoader.java
Date Tue, 24 Mar 2015 11:52:20 GMT
Author: tomekr
Date: Tue Mar 24 11:52:20 2015
New Revision: 1668853

URL: http://svn.apache.org/r1668853
Log:
SLING-4538 Content loaders cannot be ignored any more - bugfix

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

Modified: sling/trunk/bundles/jcr/contentloader/src/main/java/org/apache/sling/jcr/contentloader/internal/BundleContentLoader.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/contentloader/src/main/java/org/apache/sling/jcr/contentloader/internal/BundleContentLoader.java?rev=1668853&r1=1668852&r2=1668853&view=diff
==============================================================================
--- sling/trunk/bundles/jcr/contentloader/src/main/java/org/apache/sling/jcr/contentloader/internal/BundleContentLoader.java
(original)
+++ sling/trunk/bundles/jcr/contentloader/src/main/java/org/apache/sling/jcr/contentloader/internal/BundleContentLoader.java
Tue Mar 24 11:52:20 2015
@@ -390,6 +390,10 @@ public class BundleContentLoader extends
 
         final URL file = bundle.getEntry(entry);
         final String name = getName(entry);
+        final String entryExt = getContentReaderExtension(entry);
+        if (entryExt != null && configuration.isIgnoredImportProvider(entryExt))
{
+            return;
+        }
         try {
             if (processedEntries.containsKey(file.toString())) {
                 // this is a consumed node descriptor



Mime
View raw message