felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r824060 - /felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/Activator.java
Date Sun, 11 Oct 2009 12:23:20 GMT
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 );



Mime
View raw message