felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1096722 - /felix/trunk/dependencymanager/runtime/src/main/java/org/apache/felix/dm/runtime/DependencyManagerRuntime.java
Date Tue, 26 Apr 2011 10:57:05 GMT
Author: marrs
Date: Tue Apr 26 10:57:05 2011
New Revision: 1096722

URL: http://svn.apache.org/viewvc?rev=1096722&view=rev
Log:
Refactoring of a method in 'core'.

Modified:
    felix/trunk/dependencymanager/runtime/src/main/java/org/apache/felix/dm/runtime/DependencyManagerRuntime.java

Modified: felix/trunk/dependencymanager/runtime/src/main/java/org/apache/felix/dm/runtime/DependencyManagerRuntime.java
URL: http://svn.apache.org/viewvc/felix/trunk/dependencymanager/runtime/src/main/java/org/apache/felix/dm/runtime/DependencyManagerRuntime.java?rev=1096722&r1=1096721&r2=1096722&view=diff
==============================================================================
--- felix/trunk/dependencymanager/runtime/src/main/java/org/apache/felix/dm/runtime/DependencyManagerRuntime.java
(original)
+++ felix/trunk/dependencymanager/runtime/src/main/java/org/apache/felix/dm/runtime/DependencyManagerRuntime.java
Tue Apr 26 10:57:05 2011
@@ -83,7 +83,7 @@ public class DependencyManagerRuntime
         Log.instance().info("Runtime: stopping services");
         for (DependencyManager dm : m_managers.values())
         {
-            List<Component> services = new ArrayList<Component>(dm.getServices());
+            List<Component> services = new ArrayList<Component>(dm.getComponents());
             for (Component service : services)
             {
                 dm.remove(service);
@@ -130,7 +130,7 @@ public class DependencyManagerRuntime
         DependencyManager dm = m_managers.remove(b);
         if (dm != null)
         {
-            List<Component> services = new ArrayList(dm.getServices());
+            List<Component> services = new ArrayList(dm.getComponents());
             for (Component service : services)
             {
                 Log.instance().info("Runtime: Removing service: %s", service);



Mime
View raw message