felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uiter...@apache.org
Subject svn commit: r1330795 - /felix/trunk/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/AbstractDecorator.java
Date Thu, 26 Apr 2012 11:58:56 GMT
Author: uiterlix
Date: Thu Apr 26 11:58:55 2012
New Revision: 1330795

URL: http://svn.apache.org/viewvc?rev=1330795&view=rev
Log:
Reverted wrong decorator fix.

Modified:
    felix/trunk/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/AbstractDecorator.java

Modified: felix/trunk/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/AbstractDecorator.java
URL: http://svn.apache.org/viewvc/felix/trunk/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/AbstractDecorator.java?rev=1330795&r1=1330794&r2=1330795&view=diff
==============================================================================
--- felix/trunk/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/AbstractDecorator.java
(original)
+++ felix/trunk/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/AbstractDecorator.java
Thu Apr 26 11:58:55 2012
@@ -223,10 +223,9 @@ public abstract class AbstractDecorator 
         	Component service = (Component) m_services.remove(oldRef);
             if (service == null) {
                 throw new IllegalStateException("Service should not be null here.");
-            }
-        	Component newComponent = createService(new Object[] { newRef, newService });
-        	m_services.put(newRef, newComponent);
-        }
+            }        	
+        	m_services.put(newRef, service);
+        } 
     }
     
     // callbacks for bundles



Mime
View raw message