You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by pd...@apache.org on 2014/05/27 10:09:57 UTC

svn commit: r1597716 - /felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/impl/ComponentImpl.java

Author: pderop
Date: Tue May 27 08:09:56 2014
New Revision: 1597716

URL: http://svn.apache.org/r1597716
Log:
removed unused "size" variable

Modified:
    felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/impl/ComponentImpl.java

Modified: felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/impl/ComponentImpl.java
URL: http://svn.apache.org/viewvc/felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/impl/ComponentImpl.java?rev=1597716&r1=1597715&r2=1597716&view=diff
==============================================================================
--- felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/impl/ComponentImpl.java (original)
+++ felix/sandbox/pderop/dependencymanager-prototype/dm/src/dm/impl/ComponentImpl.java Tue May 27 08:09:56 2014
@@ -314,9 +314,7 @@ public class ComponentImpl implements Co
     }
 
     public void handleSwapped(DependencyContext dc, Event event, Event newEvent) {
-        Set<Event> dependencyEvents = m_dependencyEvents.get(dc);
-        int size = dependencyEvents.size();
-        
+        Set<Event> dependencyEvents = m_dependencyEvents.get(dc);        
         dependencyEvents.remove(event);
         dependencyEvents.add(newEvent);