aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r1341541 - /aries/trunk/util/util/src/main/java/org/apache/aries/util/tracker/hook/BundleHookBundleTracker.java
Date Tue, 22 May 2012 15:47:25 GMT
Author: gnodet
Date: Tue May 22 15:47:25 2012
New Revision: 1341541

URL: http://svn.apache.org/viewvc?rev=1341541&view=rev
Log:
[ARIES-851] BundleTrackerCustomizer in BundleHookBundleTracker is called multiple times for
the same event.

Modified:
    aries/trunk/util/util/src/main/java/org/apache/aries/util/tracker/hook/BundleHookBundleTracker.java

Modified: aries/trunk/util/util/src/main/java/org/apache/aries/util/tracker/hook/BundleHookBundleTracker.java
URL: http://svn.apache.org/viewvc/aries/trunk/util/util/src/main/java/org/apache/aries/util/tracker/hook/BundleHookBundleTracker.java?rev=1341541&r1=1341540&r2=1341541&view=diff
==============================================================================
--- aries/trunk/util/util/src/main/java/org/apache/aries/util/tracker/hook/BundleHookBundleTracker.java
(original)
+++ aries/trunk/util/util/src/main/java/org/apache/aries/util/tracker/hook/BundleHookBundleTracker.java
Tue May 22 15:47:25 2012
@@ -65,12 +65,10 @@ public class BundleHookBundleTracker<T> 
     tracked = new Tracked();
     EventHook hook = new BundleEventHook(tracked);
     sr = context.registerService(EventHook.class.getName(), hook, null);
-      super.open();
   }
 
   @Override
   public void close() {
-      super.close();
     sr.unregister();
     tracked.close();
     tracked = null;



Mime
View raw message