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/15 19:59:21 UTC
[jira] [Created] (OAK-1193) AbstractTree.getChildNodeCount() should
not actively filter out hidden names
Tobias Bocanegra created OAK-1193:
-------------------------------------
Summary: 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
Assignee: 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)