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 "Davide Giannella (JIRA)" <ji...@apache.org> on 2018/01/08 13:37:06 UTC

[jira] [Updated] (OAK-6753) Wrong binding in TokenConfigurationImpl

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

Davide Giannella updated OAK-6753:
----------------------------------
    Fix Version/s: 1.8.0

> Wrong binding in TokenConfigurationImpl 
> ----------------------------------------
>
>                 Key: OAK-6753
>                 URL: https://issues.apache.org/jira/browse/OAK-6753
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>            Reporter: Antonio Sanso
>            Assignee: Alex Deparvu
>             Fix For: 1.7.9, 1.8.0
>
>
> OAK-6741 made a Switch to official OSGi component and metatype annotations.
> I spotted at least one lost in translation issue.
> {code}
> -@References({
>  -    @Reference(
>  -            name = "credentialsSupport",
>  -            referenceInterface = CredentialsSupport.class,
>  -            cardinality = ReferenceCardinality.OPTIONAL_MULTIPLE,
>  -            policy = ReferencePolicy.DYNAMIC)
>  -})
> +    @Reference(name = "credentialsSupport",
>  +            cardinality = ReferenceCardinality.OPTIONAL,
>  +            policy = ReferencePolicy.DYNAMIC)
>  +    @SuppressWarnings("UnusedDeclaration")
> {code}
> the {{CredentialsSupport}} reference used to be  {{cardinality = ReferenceCardinality.OPTIONAL_MULTIPLE}} but is {{cardinality = ReferenceCardinality.OPTIONAL}} after the "migration"
> cc [~stillalex] [~jsedding] [~anchela]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)