You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2012/05/30 13:02:23 UTC

[jira] [Resolved] (FELIX-3525) Remove ServiceReference Comparator

     [ https://issues.apache.org/jira/browse/FELIX-3525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger resolved FELIX-3525.
--------------------------------------

       Resolution: Won't Fix
    Fix Version/s:     (was: configadmin-1.4.0)

This is not worth it doing. The code is implemented, tested and it works. So changing this just introduces test failures and additional work. Besides, another part of the RankingComparator class is still required to order the ConfigurationPlugin services according to the cmRanking service property.
                
> Remove ServiceReference Comparator
> ----------------------------------
>
>                 Key: FELIX-3525
>                 URL: https://issues.apache.org/jira/browse/FELIX-3525
>             Project: Felix
>          Issue Type: Task
>          Components: Configuration Admin
>    Affects Versions:  configadmin-1.2.8
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>
> As of Framework API 1.4 (OSGi Core 4.1) the ServiceReference interface extends Comparable. By increasing the minimal framework requirement we can make use of this functionality and drop the RankingComparator.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira