jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1330832 - /jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/NodeDelegate.java
Date Thu, 26 Apr 2012 13:10:08 GMT
Author: angela
Date: Thu Apr 26 13:10:08 2012
New Revision: 1330832

URL: http://svn.apache.org/viewvc?rev=1330832&view=rev
Log:
minor improvement

Modified:
    jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/NodeDelegate.java

Modified: jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/NodeDelegate.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/NodeDelegate.java?rev=1330832&r1=1330831&r2=1330832&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/NodeDelegate.java
(original)
+++ jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/NodeDelegate.java
Thu Apr 26 13:10:08 2012
@@ -42,8 +42,7 @@ public class NodeDelegate extends ItemDe
     }
 
     NodeDelegate addNode(String relPath) throws RepositoryException {
-        String parentPath = Paths.concat(getPath(),
-                Paths.getParentPath(relPath));
+        String parentPath = Paths.concat(getPath(), Paths.getParentPath(relPath));
         Tree parentState = getBranch().getTree(parentPath);
         if (parentState == null) {
             throw new PathNotFoundException(relPath);



Mime
View raw message