[
https://issues.apache.org/jira/browse/OAK-11969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joerg Hoh updated OAK-11969:
----------------------------
Description:
{{NodeDelegate.getChildren()}} filters all child trees to validate if they
exist.
The API doc of {{Tree.getChildren()}} says, that it returns an iterable for all
accessible children, and that implies that these children exist. For this can
can remove the redundant validation.
was:{{NodeDelegate.getChildren()}} filters all child trees to validate if
they exist. But all implementations of {{Tree.getChildren((}} already give this
guarantee, so we don't need to check this again.
> NodeDelegate: remove double check for existence of child tree
> -------------------------------------------------------------
>
> Key: OAK-11969
> URL: https://issues.apache.org/jira/browse/OAK-11969
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: jcr
> Affects Versions: 1.84.0
> Reporter: Joerg Hoh
> Priority: Major
>
> {{NodeDelegate.getChildren()}} filters all child trees to validate if they
> exist.
> The API doc of {{Tree.getChildren()}} says, that it returns an iterable for
> all accessible children, and that implies that these children exist. For this
> can can remove the redundant validation.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)