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:40:30 UTC

svn commit: r1594608 - /felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/impl/DependencyImpl.java

Author: pderop
Date: Wed May 14 15:40:30 2014
New Revision: 1594608

URL: http://svn.apache.org/r1594608
Log:
Fixed a bug when cloning a DependencyImpl: the m_available flag must be be copied.

Modified:
    felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/impl/DependencyImpl.java

Modified: felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/impl/DependencyImpl.java
URL: http://svn.apache.org/viewvc/felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/impl/DependencyImpl.java?rev=1594608&r1=1594607&r2=1594608&view=diff
==============================================================================
--- felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/impl/DependencyImpl.java (original)
+++ felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/impl/DependencyImpl.java Wed May 14 15:40:30 2014
@@ -39,7 +39,6 @@ public class DependencyImpl<T extends De
 	
 	public DependencyImpl(DependencyImpl<T> prototype) {
 		m_component = prototype.m_component;
-		m_available = prototype.m_available;
 		m_instanceBound = prototype.m_instanceBound;
 		m_required = prototype.m_required;
 		m_add = prototype.m_add;
@@ -271,7 +270,7 @@ public class DependencyImpl<T extends De
         return null;
     }
     
-    protected boolean isStarted() {
+    public boolean isStarted() {
     	return m_isStarted;
     }