[
https://issues.apache.org/jira/browse/FELIX-5236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre De Rop reassigned FELIX-5236:
------------------------------------
Assignee: Pierre De Rop
> Single @Property annotation on a type doesn't work
> --------------------------------------------------
>
> Key: FELIX-5236
> URL: https://issues.apache.org/jira/browse/FELIX-5236
> Project: Felix
> Issue Type: Bug
> Components: Dependency Manager Annotations
> Affects Versions: org.apache.felix.dependencymanager-r8
> Reporter: Bram Pouwelse
> Assignee: Pierre De Rop
>
> FELIX-5180 introduced the option to add @Property annotations on a type, this
> doesn't work in case there is only a single property.
> The {{AnnotationCollector}} gets the @Property annotations by reading the
> value of the @RepatableProperty annotation. This @RepeatableProperty is only
> available when there is more than one @Property annotation.
> {quote}
> If more than one annotation of the requested type is present, you can obtain
> them by first getting their container annotation.
> {quote}
> https://docs.oracle.com/javase/tutorial/java/annotations/repeating.html
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)