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 "Alex Deparvu (JIRA)" <ji...@apache.org> on 2017/10/02 08:49:02 UTC

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

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

Alex Deparvu resolved OAK-6753.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 1.7.9

fixed with http://svn.apache.org/viewvc?rev=1810312&view=rev

thanks [~asanso]!

> 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
>
>
> 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)