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 "angela (JIRA)" <ji...@apache.org> on 2019/03/22 09:42:00 UTC

[jira] [Created] (OAK-8159) GroupPrincipalWrapper.getName is redundant

angela created OAK-8159:
---------------------------

             Summary: GroupPrincipalWrapper.getName is redundant
                 Key: OAK-8159
                 URL: https://issues.apache.org/jira/browse/OAK-8159
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: security-spi
            Reporter: angela
            Assignee: angela


[~stillalex], i just noticed that {{GroupPrincipalWrapper.getName}} is redundant... spottet it while writing additional tests and found that {{getName}} is called twice when mocking the {{Group}} that is wrapped. See attached test and patch. Wdyt?



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