jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r985215 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/NodeImpl.java
Date Fri, 13 Aug 2010 14:47:39 GMT
Author: stefan
Date: Fri Aug 13 14:47:38 2010
New Revision: 985215

URL: http://svn.apache.org/viewvc?rev=985215&view=rev
Log:
JCR-2683: Provide rename method for nodes

fixed inline-comments

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

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/NodeImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/NodeImpl.java?rev=985215&r1=985214&r2=985215&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/NodeImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/NodeImpl.java
Fri Aug 13 14:47:38 2010
@@ -3501,13 +3501,13 @@ public class NodeImpl extends ItemImpl i
         sessionContext.getItemValidator().checkModify(parent, options, Permission.NONE);
 
         // check constraints
-        // get applicable definition of target node at new location
+        // get applicable definition of renamed target node
         NodeTypeImpl nt = (NodeTypeImpl) getPrimaryNodeType();
         org.apache.jackrabbit.spi.commons.nodetype.NodeDefinitionImpl newTargetDef;
         try {
             newTargetDef = parent.getApplicableChildNodeDefinition(qName, nt.getQName());
         } catch (RepositoryException re) {
-            String msg = safeGetJCRPath() + ": no definition found in parent node's node
type for new node";
+            String msg = safeGetJCRPath() + ": no definition found in parent node's node
type for renamed node";
             log.debug(msg);
             throw new ConstraintViolationException(msg, re);
         }



Mime
View raw message