felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pde...@apache.org
Subject svn commit: r953570 - /felix/trunk/dependencymanager/test/src/main/java/org/apache/felix/dm/test/bundle/annotation/multiple/ServiceProvider.java
Date Fri, 11 Jun 2010 05:57:58 GMT
Author: pderop
Date: Fri Jun 11 05:57:57 2010
New Revision: 953570

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

Modified:
    felix/trunk/dependencymanager/test/src/main/java/org/apache/felix/dm/test/bundle/annotation/multiple/ServiceProvider.java

Modified: felix/trunk/dependencymanager/test/src/main/java/org/apache/felix/dm/test/bundle/annotation/multiple/ServiceProvider.java
URL: http://svn.apache.org/viewvc/felix/trunk/dependencymanager/test/src/main/java/org/apache/felix/dm/test/bundle/annotation/multiple/ServiceProvider.java?rev=953570&r1=953569&r2=953570&view=diff
==============================================================================
--- felix/trunk/dependencymanager/test/src/main/java/org/apache/felix/dm/test/bundle/annotation/multiple/ServiceProvider.java
(original)
+++ felix/trunk/dependencymanager/test/src/main/java/org/apache/felix/dm/test/bundle/annotation/multiple/ServiceProvider.java
Fri Jun 11 05:57:57 2010
@@ -39,18 +39,10 @@ public class ServiceProvider implements 
         m_serviceProvider2 = provider2;
     }
 
-    void unbind(ServiceProvider2 provider2)
-    {
-        m_sequencer.step(10);
-    }
-
     @Start
     void start()
     {
-        if (m_serviceProvider2 != null)
-        {
-            m_sequencer.step(4);
-        }
+        m_serviceProvider2.step(4);
         m_sequencer.step(5);
     }
 
@@ -60,6 +52,11 @@ public class ServiceProvider implements 
         m_sequencer.step(9);
     }
 
+    void unbind(ServiceProvider2 provider2)
+    {
+        m_sequencer.step(10);
+    }
+
     public void doService()
     {
         m_sequencer.step(7);



Mime
View raw message