incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r689738 - /incubator/sling/trunk/extensions/event/src/main/java/org/apache/sling/event/impl/AbstractRepositoryEventHandler.java
Date Thu, 28 Aug 2008 06:55:33 GMT
Author: cziegeler
Date: Wed Aug 27 23:55:32 2008
New Revision: 689738

URL: http://svn.apache.org/viewvc?rev=689738&view=rev
Log:
Folders don't need to be lockable.

Modified:
    incubator/sling/trunk/extensions/event/src/main/java/org/apache/sling/event/impl/AbstractRepositoryEventHandler.java

Modified: incubator/sling/trunk/extensions/event/src/main/java/org/apache/sling/event/impl/AbstractRepositoryEventHandler.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/extensions/event/src/main/java/org/apache/sling/event/impl/AbstractRepositoryEventHandler.java?rev=689738&r1=689737&r2=689738&view=diff
==============================================================================
--- incubator/sling/trunk/extensions/event/src/main/java/org/apache/sling/event/impl/AbstractRepositoryEventHandler.java
(original)
+++ incubator/sling/trunk/extensions/event/src/main/java/org/apache/sling/event/impl/AbstractRepositoryEventHandler.java
Wed Aug 27 23:55:32 2008
@@ -29,7 +29,6 @@
 import javax.jcr.Session;
 import javax.jcr.observation.EventListener;
 
-import org.apache.jackrabbit.JcrConstants;
 import org.apache.sling.commons.osgi.OsgiUtil;
 import org.apache.sling.commons.threads.ThreadPool;
 import org.apache.sling.commons.threads.ThreadPoolConfig;
@@ -246,10 +245,7 @@
                                    EventHelper.NODETYPE_FOLDER,
                                    EventHelper.NODETYPE_FOLDER,
                                    this.writerSession, true);
-        if ( !node.isNodeType(JcrConstants.MIX_LOCKABLE) ) {
-            node.addMixin(JcrConstants.MIX_LOCKABLE);
-            node.save();
-        }
+
         return node;
     }
 



Mime
View raw message