You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by ri...@apache.org on 2009/07/29 23:39:56 UTC
svn commit: r799089 -
/felix/trunk/framework/src/main/java/org/apache/felix/framework/ServiceRegistry.java
Author: rickhall
Date: Wed Jul 29 21:39:56 2009
New Revision: 799089
URL: http://svn.apache.org/viewvc?rev=799089&view=rev
Log:
I had refactored out the need for this class, but forgot to remove
it. (FELIX-1277)
Modified:
felix/trunk/framework/src/main/java/org/apache/felix/framework/ServiceRegistry.java
Modified: felix/trunk/framework/src/main/java/org/apache/felix/framework/ServiceRegistry.java
URL: http://svn.apache.org/viewvc/felix/trunk/framework/src/main/java/org/apache/felix/framework/ServiceRegistry.java?rev=799089&r1=799088&r2=799089&view=diff
==============================================================================
--- felix/trunk/framework/src/main/java/org/apache/felix/framework/ServiceRegistry.java (original)
+++ felix/trunk/framework/src/main/java/org/apache/felix/framework/ServiceRegistry.java Wed Jul 29 21:39:56 2009
@@ -788,21 +788,4 @@
{
void serviceChanged(ServiceEvent event, Dictionary oldProps);
}
-
- private static class ServiceRankingComparator implements Comparator
- {
- public int compare(Object o1, Object o2)
- {
- if (!(o1 instanceof ServiceRegistration) ||
- !(o2 instanceof ServiceRegistration))
- {
- return 0;
- }
-
- ServiceReference r1 = ((ServiceRegistration) o1).getReference();
- ServiceReference r2 = ((ServiceRegistration) o2).getReference();
-
- return -r1.compareTo(r2);
- }
- }
}
\ No newline at end of file