Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-2333

service.ranking property type should be Integer by default

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • maven-scr-plugin-1.4.2
    • maven-scr-plugin-1.6.0
    • SCR Tooling
    • None

    Description

      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.

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            bdelacretaz Bertrand Delacretaz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: