felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pde...@apache.org
Subject svn commit: r902649 - /felix/trunk/dependencymanager/runtime/src/main/java/org/apache/felix/dm/runtime/Activator.java
Date Sun, 24 Jan 2010 21:42:20 GMT
Author: pderop
Date: Sun Jan 24 21:42:20 2010
New Revision: 902649

URL: http://svn.apache.org/viewvc?rev=902649&view=rev
Log:
code cleanup

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

Modified: felix/trunk/dependencymanager/runtime/src/main/java/org/apache/felix/dm/runtime/Activator.java
URL: http://svn.apache.org/viewvc/felix/trunk/dependencymanager/runtime/src/main/java/org/apache/felix/dm/runtime/Activator.java?rev=902649&r1=902648&r2=902649&view=diff
==============================================================================
--- felix/trunk/dependencymanager/runtime/src/main/java/org/apache/felix/dm/runtime/Activator.java
(original)
+++ felix/trunk/dependencymanager/runtime/src/main/java/org/apache/felix/dm/runtime/Activator.java
Sun Jan 24 21:42:20 2010
@@ -31,8 +31,6 @@
  */
 public class Activator extends DependencyActivatorBase
 {
-    private ComponentManager _deployer = new ComponentManager();
-
     @Override
     public void init(BundleContext context, DependencyManager dm) throws Exception
     {
@@ -44,7 +42,7 @@
 
         boolean logActive = "true".equals(context.getProperty("dm.log"));
         dm.add(createService()
-               .setImplementation(_deployer)
+               .setImplementation(ComponentManager.class)
                .add(createServiceDependency()
                    .setService(LogService.class)
                    .setRequired(logActive)



Mime
View raw message