commit | ff4758f0f9724690822863ef1da5f2d59abaca1b | [log] [tgz] |
---|---|---|
author | Marcel Offermans <marrs@apache.org> | Thu Oct 14 19:57:06 2010 +0000 |
committer | Marcel Offermans <marrs@apache.org> | Thu Oct 14 19:57:06 2010 +0000 |
tree | 3c0fa88713b5cd463f1ab93fbddbfcc08f13ceda | |
parent | 43b346b0a656accec1a30589f0c1c41006d55a6a [diff] |
Incorrectly dealt with service changed events. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1022683 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/dependencymanager/core/src/main/java/org/apache/felix/dm/tracker/ServiceTracker.java b/dependencymanager/core/src/main/java/org/apache/felix/dm/tracker/ServiceTracker.java index 65f839a..6a373a5 100644 --- a/dependencymanager/core/src/main/java/org/apache/felix/dm/tracker/ServiceTracker.java +++ b/dependencymanager/core/src/main/java/org/apache/felix/dm/tracker/ServiceTracker.java
@@ -1008,7 +1008,7 @@ } higher = sr; } - else { + else if (ranking < trackedRanking) { //////////////// // found lower ranked one! if (DEBUG) { System.out.println("ServiceTracker.Tracked.serviceChanged[" + event.getType() + "]: Found a lower ranked aspect: " + ServiceUtil.toString(reference) + " vs " + ServiceUtil.toString(sr));