jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r157730 - incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/NodeImpl.java
Date Wed, 16 Mar 2005 10:22:20 GMT
Author: stefan
Date: Wed Mar 16 02:22:17 2005
New Revision: 157730

URL: http://svn.apache.org/viewcvs?view=rev&rev=157730
Log:
fixing JCR-67: Node.canAddMixin(String) should respect locking status
http://issues.apache.org/jira/browse/JCR-67

Modified:
    incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/NodeImpl.java

Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/NodeImpl.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/NodeImpl.java?view=diff&r1=157729&r2=157730
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/NodeImpl.java (original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/NodeImpl.java Wed Mar 16
02:22:17 2005
@@ -2442,6 +2442,9 @@
             return false;
         }
 
+        // check lock status
+        checkLock();
+
         QName ntName;
         try {
             ntName = QName.fromJCRName(mixinName, session.getNamespaceResolver());



Mime
View raw message