Description
OAK-6741 made a Switch to official OSGi component and metatype annotations.
I spotted at least one lost in translation issue.
-@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")
the CredentialsSupport reference used to be cardinality = ReferenceCardinality.OPTIONAL_MULTIPLE but is cardinality = ReferenceCardinality.OPTIONAL after the "migration"
Attachments
Issue Links
- is broken by
-
OAK-6741 Switch to official OSGi component and metatype annotations
- Resolved