You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2010/03/09 19:39:29 UTC

[jira] Commented: (SLING-1431) Utility method to get the service ranking

    [ https://issues.apache.org/jira/browse/SLING-1431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12843231#action_12843231 ] 

Felix Meschberger commented on SLING-1431:
------------------------------------------

Some notes:

  Shouldn't the equals and hashCode methods also be implemented ?

  Why not implementing the Comparator interface, which could then be used to sort lists of maps or as the Comparator for TreeSet/Map ?

> Utility method to get the service ranking
> -----------------------------------------
>
>                 Key: SLING-1431
>                 URL: https://issues.apache.org/jira/browse/SLING-1431
>             Project: Sling
>          Issue Type: Improvement
>          Components: Commons
>    Affects Versions: Commons OSGi 2.0.4
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: Commons OSGi 2.0.6
>
>
> The service ranking property is optional, if it is not specified or not of type integer, the ranking is 0

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