service.ranking property type should be Integer by default
----------------------------------------------------------

                 Key: FELIX-2333
                 URL: https://issues.apache.org/jira/browse/FELIX-2333
             Project: Felix
          Issue Type: Improvement
          Components: Maven SCR Plugin
    Affects Versions: maven-scr-plugin-1.4.2
            Reporter: Bertrand Delacretaz
            Priority: Minor


Forgetting to specify the type on

@scr.property name="service.ranking" type=Integer value=500

causes the ranking to be silently ignored, as the property is then of type 
String and the OSGi spec requires an Integer.

Using the Integer type by default for this property would help avoid this 
problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to