jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "angela (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OAK-8372) DeclaredMembershipPredicate contains redundant lookup of groupTree
Date Wed, 29 May 2019 13:11:00 GMT
angela created OAK-8372:
---------------------------

             Summary: DeclaredMembershipPredicate contains redundant lookup of groupTree
                 Key: OAK-8372
                 URL: https://issues.apache.org/jira/browse/OAK-8372
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: core, security
            Reporter: angela
             Fix For: 1.14.0


line 52 in {{DeclaredMembershipPredicate}} retrieves the _groupTree_ again instead of using
the value of the lookup obtained earlier. While fixing this i additionally noticed that the
contentIds obtained on the same line could be filtered for non-null values. this improvement
would allow to consequently drop the extra check for null in the {{apply}} method.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message