You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (JIRA)" <ji...@apache.org> on 2015/12/27 12:18:49 UTC
[jira] [Commented] (SLING-5403) RankedServices.get() should return
List instead of Collection
[ https://issues.apache.org/jira/browse/SLING-5403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15072121#comment-15072121 ]
Konrad Windszus commented on SLING-5403:
----------------------------------------
I temporarily reverted the fix until versioning implications with that change are clear (http://apache-sling.73963.n3.nabble.com/baselining-issue-td4057940.html).
> RankedServices.get() should return List instead of Collection
> -------------------------------------------------------------
>
> Key: SLING-5403
> URL: https://issues.apache.org/jira/browse/SLING-5403
> Project: Sling
> Issue Type: Bug
> Components: Commons
> Affects Versions: Commons OSGi 2.3.0
> Reporter: Konrad Windszus
> Assignee: Konrad Windszus
> Priority: Minor
>
> Since this method always uses a {{List}} implementation internally we should also expose that interface as return type instead of the more generic {{Collection}}. This clarifies that the return values have a fixed order and also allows to directly access elements by their indices.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)