Author: rombert Date: Tue Feb 17 22:49:26 2015 New Revision: 1660527 URL: http://svn.apache.org/r1660527 Log: SLING-4105 - Content Navigator should not read all the jcr_root when initialized
Do not recursively read all children of a node when initialsing the children list. Modified: sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/nav/model/JcrNode.java Modified: sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/nav/model/JcrNode.java URL: http://svn.apache.org/viewvc/sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/nav/model/JcrNode.java?rev=1660527&r1=1660526&r2=1660527&view=diff ============================================================================== --- sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/nav/model/JcrNode.java (original) +++ sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/nav/model/JcrNode.java Tue Feb 17 22:49:26 2015 @@ -386,12 +386,6 @@ public class JcrNode implements IAdaptab newNodes.add(node); it.remove(); } - for (Iterator<JcrNode> it = newNodes.iterator(); it - .hasNext();) { - JcrNode jcrNode = it.next(); - // load the children - to make sure we get vault files loaded too - jcrNode.initChildren(); - } } } resourceChildrenAdded = true;