Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-1193

AbstractTree.getChildNodeCount() should not actively filter out hidden names

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • core
    • None

    Description

              long count = nodeBuilder.getChildNodeCount(max);
              if (count > 0) {
                  for (String name : INTERNAL_NODE_NAMES) {
                      if (nodeBuilder.hasChildNode(name)) {
                          count--;
                      }
                  }
              }
      

      Checks INTERNAL_NODE_NAMES which is slow and not extensible. it should propagate the hidden-filtering down to node builder.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tripod Tobias Bocanegra
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: