in interface SiteTreeNode javadocs it is wrote:

public void acceptSubtree(SiteTreeNodeVisitor visitor)
                   throws DocumentException
Traverse the node ant its children and call the accept method.

However, the code in SiteTreeImpl calls:
           for (int i = 0; i < children.length; i++) {
                children[i].acceptSubtree(visitor);
            }
That is, not 'accept' but 'acceptSubtree' is callen
and is recursively applied not to children but to all ancestors.

Is it typo in javadocs, or i miss something ?

-- 
 qMax


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to