jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1375600 - in /jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr: NodeDelegate.java PropertyDelegate.java
Date Tue, 21 Aug 2012 15:17:57 GMT
Author: mduerig
Date: Tue Aug 21 15:17:56 2012
New Revision: 1375600

URL: http://svn.apache.org/viewvc?rev=1375600&view=rev
Log:
OAK-221: Clarify nature of 'path' parameter in oak-api
 remove duplicate slash in NodeDelegate and PropertyDelegate toString()

Modified:
    jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/NodeDelegate.java
    jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/PropertyDelegate.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=1375600&r1=1375599&r2=1375600&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
Tue Aug 21 15:17:56 2012
@@ -90,7 +90,7 @@ public class NodeDelegate extends ItemDe
     @Override
     public String toString() {
         // don't disturb the state: avoid calling getTree()
-        return "NodeDelegate[/" + tree.getPath() + ']';
+        return "NodeDelegate[" + tree.getPath() + ']';
     }
 
     @Nonnull

Modified: jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/PropertyDelegate.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/PropertyDelegate.java?rev=1375600&r1=1375599&r2=1375600&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/PropertyDelegate.java
(original)
+++ jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/PropertyDelegate.java
Tue Aug 21 15:17:56 2012
@@ -102,7 +102,7 @@ public class PropertyDelegate extends It
     @Override
     public String toString() {
         // don't disturb the state: avoid calling resolve()
-        return "PropertyDelegate[/" + parent.getPath() + '/' + propertyState.getName() +
']';
+        return "PropertyDelegate[" + parent.getPath() + '/' + propertyState.getName() + ']';
     }
 
     /**



Mime
View raw message