jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1365108 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/TreeImpl.java
Date Tue, 24 Jul 2012 15:05:29 GMT
Author: angela
Date: Tue Jul 24 15:05:29 2012
New Revision: 1365108

URL: http://svn.apache.org/viewvc?rev=1365108&view=rev
Log:
add comment explaining the nature of the children field (thanks jukka for explaining)

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

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/TreeImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/TreeImpl.java?rev=1365108&r1=1365107&r2=1365108&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/TreeImpl.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/TreeImpl.java
Tue Jul 24 15:05:29 2012
@@ -56,6 +56,9 @@ public class TreeImpl implements Tree, P
     /** Lazily initialised {@code NodeStateBuilder} for the underlying node state */
     NodeStateBuilder nodeStateBuilder;
 
+    /**
+     * Cache for child trees that have been accessed before.
+     */
     private final Children children = new Children();
 
     private TreeImpl(RootImpl root, TreeImpl parent, String name) {



Mime
View raw message