incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1583540 - /sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/OakResourceListener.java
Date Tue, 01 Apr 2014 05:44:13 GMT
Author: cziegeler
Date: Tue Apr  1 05:44:13 2014
New Revision: 1583540

URL: http://svn.apache.org/r1583540
Log:
SLING-3279 : Leverage improved observation support from Oak

Modified:
    sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/OakResourceListener.java

Modified: sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/OakResourceListener.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/OakResourceListener.java?rev=1583540&r1=1583539&r2=1583540&view=diff
==============================================================================
--- sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/OakResourceListener.java
(original)
+++ sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/OakResourceListener.java
Tue Apr  1 05:44:13 2014
@@ -222,7 +222,7 @@ public class OakResourceListener extends
                     // update resource type properties
                     if ( sendEvent ) {
                         if ( resourceType == null ) {
-                            changes.put(PROPERTY_RESOURCE_TYPE, nodeType.replace(':', '/'));
+                            changes.put(PROPERTY_RESOURCE_TYPE, nodeType);
                         } else {
                             changes.put(PROPERTY_RESOURCE_TYPE, resourceType);
                         }



Mime
View raw message