You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by fm...@apache.org on 2009/10/11 14:23:20 UTC

svn commit: r824060 - /felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/Activator.java

Author: fmeschbe
Date: Sun Oct 11 12:23:20 2009
New Revision: 824060

URL: http://svn.apache.org/viewvc?rev=824060&view=rev
Log:
FELIX-1666 have to explicitly box a long value

Modified:
    felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/Activator.java

Modified: felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/Activator.java
URL: http://svn.apache.org/viewvc/felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/Activator.java?rev=824060&r1=824059&r2=824060&view=diff
==============================================================================
--- felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/Activator.java (original)
+++ felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/Activator.java Sun Oct 11 12:23:20 2009
@@ -222,7 +222,7 @@
         // FELIX-1666 method is called for the LAZY_ACTIVATION event and
         // the started event. Both events cause this method to be called;
         // so we have to make sure to not load components twice
-        if ( m_componentBundles.containsKey( bundle.getBundleId() ) )
+        if ( m_componentBundles.containsKey( new Long( bundle.getBundleId() ) ) )
         {
             log( LogService.LOG_DEBUG, m_context.getBundle(), "Components for bundle  " + bundle.getSymbolicName()
                 + "/" + bundle.getBundleId() + " already loaded. Nothing to do", null );