You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by pd...@apache.org on 2014/05/14 17:42:50 UTC

svn commit: r1594614 - /felix/sandbox/pderop/dependencymanager-prototype/dm/test/test/ServiceRaceTest.java

Author: pderop
Date: Wed May 14 15:42:50 2014
New Revision: 1594614

URL: http://svn.apache.org/r1594614
Log:
Provide the Component in the ComponentStateListener.changed method

Modified:
    felix/sandbox/pderop/dependencymanager-prototype/dm/test/test/ServiceRaceTest.java

Modified: felix/sandbox/pderop/dependencymanager-prototype/dm/test/test/ServiceRaceTest.java
URL: http://svn.apache.org/viewvc/felix/sandbox/pderop/dependencymanager-prototype/dm/test/test/ServiceRaceTest.java?rev=1594614&r1=1594613&r2=1594614&view=diff
==============================================================================
--- felix/sandbox/pderop/dependencymanager-prototype/dm/test/test/ServiceRaceTest.java (original)
+++ felix/sandbox/pderop/dependencymanager-prototype/dm/test/test/ServiceRaceTest.java Wed May 14 15:42:50 2014
@@ -94,7 +94,7 @@ public class ServiceRaceTest extends Tes
         final ComponentStateListener listener = new ComponentStateListener() {
             private volatile Dictionary m_conf;
 
-            public void changed(ComponentState state) {
+            public void changed(Component c, ComponentState state) {
                 if (state == ComponentState.WAITING_FOR_REQUIRED && m_conf == null) {
                     m_conf = new Hashtable();
                     m_conf.put("foo", "bar");