Bram Pouwelse created FELIX-5236:
------------------------------------

             Summary: Single @Property annotations 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


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)

Reply via email to