jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r1394007 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/type/TypeValidator.java
Date Thu, 04 Oct 2012 12:02:55 GMT
Author: mreutegg
Date: Thu Oct  4 12:02:55 2012
New Revision: 1394007

URL: http://svn.apache.org/viewvc?rev=1394007&view=rev
Log:
OAK-66: JCR Node Type Management
- copy/paste error in checkRemoveNode

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/type/TypeValidator.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/type/TypeValidator.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/type/TypeValidator.java?rev=1394007&r1=1394006&r2=1394007&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/type/TypeValidator.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/type/TypeValidator.java
Thu Oct  4 12:02:55 2012
@@ -289,7 +289,7 @@ class TypeValidator implements Validator
 
         public void checkRemoveNode(final String name) throws ConstraintViolationException
{
             for (NodeType nodeType : allTypes) {
-                if (nodeType.canRemoveProperty(name)) {
+                if (nodeType.canRemoveNode(name)) {
                     return;
                 }
             }



Mime
View raw message