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

Julian Reschke closed OAK-8557.
-------------------------------

> CugPolicyImpl.isValidPrincipal contains unreachable default option
> ------------------------------------------------------------------
>
>                 Key: OAK-8557
>                 URL: https://issues.apache.org/jira/browse/OAK-8557
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: authorization-cug
>            Reporter: Angela Schreiber
>            Assignee: Angela Schreiber
>            Priority: Minor
>             Fix For: 1.18.0
>
>
> similar to OAK-8556, {{CugPolicyImpl.isValidPrincipal}} defines a default 
> which will never be reached due to the fact that the constructor asserts that 
> the specified importbehavior is valid (see test 
> {{CugPolicyImplTest.testInvalidImportBehavior}}) 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to