You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Tobias Bocanegra (JIRA)" <ji...@apache.org> on 2013/11/16 01:35:20 UTC

[jira] [Updated] (OAK-1193) AbstractTree.getChildNodeCount() should not actively filter out hidden names

     [ https://issues.apache.org/jira/browse/OAK-1193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tobias Bocanegra updated OAK-1193:
----------------------------------

    Assignee:     (was: Tobias Bocanegra)

> AbstractTree.getChildNodeCount() should not actively filter out hidden names
> ----------------------------------------------------------------------------
>
>                 Key: OAK-1193
>                 URL: https://issues.apache.org/jira/browse/OAK-1193
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>            Reporter: Tobias Bocanegra
>
> {code}
>         long count = nodeBuilder.getChildNodeCount(max);
>         if (count > 0) {
>             for (String name : INTERNAL_NODE_NAMES) {
>                 if (nodeBuilder.hasChildNode(name)) {
>                     count--;
>                 }
>             }
>         }
> {code}
> Checks {{INTERNAL_NODE_NAMES}} which is slow and not extensible. it should propagate the hidden-filtering down to node builder.



--
This message was sent by Atlassian JIRA
(v6.1#6144)