You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 09:25:39 UTC

[sling-org-apache-sling-commons-osgi] 13/19: SLING-5403 revert fix (as it requires a major version increase)

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.commons.osgi-2.4.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-osgi.git

commit bca857d887721c5c136cdf5b9e324517ff7eae23
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Sun Dec 27 11:16:36 2015 +0000

    SLING-5403 revert fix (as it requires a major version increase)
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/commons/osgi@1721798 13f79535-47bb-0310-9956-ffa450edef68
---
 src/main/java/org/apache/sling/commons/osgi/RankedServices.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/commons/osgi/RankedServices.java b/src/main/java/org/apache/sling/commons/osgi/RankedServices.java
index f2c9cb4..3a4e547 100644
--- a/src/main/java/org/apache/sling/commons/osgi/RankedServices.java
+++ b/src/main/java/org/apache/sling/commons/osgi/RankedServices.java
@@ -19,6 +19,7 @@
 package org.apache.sling.commons.osgi;
 
 import java.util.ArrayList;
+import java.util.Collection;
 import java.util.Collections;
 import java.util.Iterator;
 import java.util.List;
@@ -155,7 +156,7 @@ public final class RankedServices<T> implements Iterable<T> {
    * (either ascending or descending depending on the order given in the constructor).
    * @return Collection of service instances
    */
-  public List<T> get() {
+  public Collection<T> get() {
     return sortedServices;
   }
 

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.