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] [Updated] (OAK-8159) GroupPrincipalWrapper.getName is redundant
Date Fri, 22 Mar 2019 09:43:00 GMT

     [ https://issues.apache.org/jira/browse/OAK-8159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

angela updated OAK-8159:
------------------------
    Attachment: OAK-8159.patch

> 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
>            Priority: Minor
>         Attachments: OAK-8159.patch
>
>
> [~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)

Mime
View raw message