cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1130798 - /cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/osgi/OSGiExtensionLocator.java
Date Thu, 02 Jun 2011 20:42:37 GMT
Author: dkulp
Date: Thu Jun  2 20:42:36 2011
New Revision: 1130798

URL: http://svn.apache.org/viewvc?rev=1130798&view=rev
Log:
Remove the extensions from the activator list on unregister

Modified:
    cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/osgi/OSGiExtensionLocator.java

Modified: cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/osgi/OSGiExtensionLocator.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/osgi/OSGiExtensionLocator.java?rev=1130798&r1=1130797&r2=1130798&view=diff
==============================================================================
--- cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/osgi/OSGiExtensionLocator.java (original)
+++ cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/osgi/OSGiExtensionLocator.java Thu
Jun  2 20:42:36 2011
@@ -107,7 +107,7 @@ public class OSGiExtensionLocator implem
         }
     }
     protected void unregister(final long bundleId) {
-        List<Extension> list = extensions.get(bundleId);
+        List<Extension> list = extensions.remove(bundleId);
         if (list != null) {
             ExtensionRegistry.removeExtensions(list);
         }



Mime
View raw message