[ https://issues.apache.org/jira/browse/OAK-8370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davide Giannella closed OAK-8370. --------------------------------- bulk close 1.14.0 > Simplify o.a.j.oak.security.user.Utils.getOrAddTree > --------------------------------------------------- > > Key: OAK-8370 > URL: https://issues.apache.org/jira/browse/OAK-8370 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: core, security > Reporter: angela > Assignee: angela > Priority: Minor > Fix For: 1.14.0 > > > instead of accessing the tree first and re-iterating over all path segments > if it doesn't exist, the latter could be done right away and in addition use > {{TreeUtil.getOrAddChild}}, which also will take care of throw > {{AccessDeniedException}}. -- This message was sent by Atlassian JIRA (v7.6.3#76005)