jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thom...@apache.org
Subject svn commit: r1528498 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/ImmutableTree.java
Date Wed, 02 Oct 2013 14:39:10 GMT
Author: thomasm
Date: Wed Oct  2 14:39:09 2013
New Revision: 1528498

URL: http://svn.apache.org/r1528498
Log:
OAK-798: Review / refactor TreeImpl: small performance improvement

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

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/ImmutableTree.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/ImmutableTree.java?rev=1528498&r1=1528497&r2=1528498&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/ImmutableTree.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/ImmutableTree.java
Wed Oct  2 14:39:09 2013
@@ -150,6 +150,11 @@ public final class ImmutableTree extends
     }
 
     @Override
+    public boolean hasChild(String name) {
+        return state.hasChildNode(name);
+    }
+
+    @Override
     public Status getStatus() {
         return Status.EXISTING;
     }



Mime
View raw message