Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-5403

RankedServices.get() should return List instead of Collection

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Commons OSGi 2.3.0
    • Commons OSGi 2.4.0
    • Commons
    • None

    Description

      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.

      Attachments

        Activity

          People

            kwin Konrad Windszus
            kwin Konrad Windszus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: