incubator-aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mnutt...@apache.org
Subject svn commit: r986312 - /incubator/aries/trunk/application/application-runtime-framework/src/main/java/org/apache/aries/application/runtime/framework/BundleFrameworkImpl.java
Date Tue, 17 Aug 2010 14:03:10 GMT
Author: mnuttall
Date: Tue Aug 17 14:03:10 2010
New Revision: 986312

URL: http://svn.apache.org/viewvc?rev=986312&view=rev
Log:
ARIES-381: Remove workaround. 

Modified:
    incubator/aries/trunk/application/application-runtime-framework/src/main/java/org/apache/aries/application/runtime/framework/BundleFrameworkImpl.java

Modified: incubator/aries/trunk/application/application-runtime-framework/src/main/java/org/apache/aries/application/runtime/framework/BundleFrameworkImpl.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/application/application-runtime-framework/src/main/java/org/apache/aries/application/runtime/framework/BundleFrameworkImpl.java?rev=986312&r1=986311&r2=986312&view=diff
==============================================================================
--- incubator/aries/trunk/application/application-runtime-framework/src/main/java/org/apache/aries/application/runtime/framework/BundleFrameworkImpl.java
(original)
+++ incubator/aries/trunk/application/application-runtime-framework/src/main/java/org/apache/aries/application/runtime/framework/BundleFrameworkImpl.java
Tue Aug 17 14:03:10 2010
@@ -150,18 +150,5 @@ public class BundleFrameworkImpl impleme
   {
     b.uninstall();
     _bundles.remove(b);
-    
-    /* Call PackageAdmin.refreshPackages() after uninstall 
-	 * to clean out a partially removed bundle. Just to be sure. 
-	 */ 
-    PackageAdmin admin = null;
-    try {
-      if (_packageAdminTracker != null) {
-        admin = (PackageAdmin) _packageAdminTracker.getService();
-        admin.refreshPackages(new Bundle[]{b});
-      }
-    } catch (RuntimeException re) {
-      LOGGER.debug(LOG_EXCEPTION, re);
-    }
   }
 }



Mime
View raw message