I had refactored out the need for this class, but forgot to remove
it. (FELIX-1277)
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@799089 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/framework/src/main/java/org/apache/felix/framework/ServiceRegistry.java b/framework/src/main/java/org/apache/felix/framework/ServiceRegistry.java
index 413e331..76a0304 100644
--- a/framework/src/main/java/org/apache/felix/framework/ServiceRegistry.java
+++ b/framework/src/main/java/org/apache/felix/framework/ServiceRegistry.java
@@ -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