felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1687391 - /felix/trunk/http/base/src/main/java/org/apache/felix/http/base/internal/registry/EventListenerRegistry.java
Date Wed, 24 Jun 2015 22:52:52 GMT
Author: cziegeler
Date: Wed Jun 24 22:52:52 2015
New Revision: 1687391

URL: http://svn.apache.org/r1687391
Log:
Fix listeners

Modified:
    felix/trunk/http/base/src/main/java/org/apache/felix/http/base/internal/registry/EventListenerRegistry.java

Modified: felix/trunk/http/base/src/main/java/org/apache/felix/http/base/internal/registry/EventListenerRegistry.java
URL: http://svn.apache.org/viewvc/felix/trunk/http/base/src/main/java/org/apache/felix/http/base/internal/registry/EventListenerRegistry.java?rev=1687391&r1=1687390&r2=1687391&view=diff
==============================================================================
--- felix/trunk/http/base/src/main/java/org/apache/felix/http/base/internal/registry/EventListenerRegistry.java
(original)
+++ felix/trunk/http/base/src/main/java/org/apache/felix/http/base/internal/registry/EventListenerRegistry.java
Wed Jun 24 22:52:52 2015
@@ -206,7 +206,7 @@ public final class EventListenerRegistry
     {
         for (final HttpSessionAttributeListener l : sessionAttributeListeners.getActiveListeners())
         {
-            l.attributeReplaced(event);
+            l.attributeRemoved(event);
         }
     }
 
@@ -215,7 +215,7 @@ public final class EventListenerRegistry
     {
         for (final HttpSessionAttributeListener l : sessionAttributeListeners.getActiveListeners())
         {
-            l.attributeReplaced(event);
+            l.attributeAdded(event);
         }
     }
 
@@ -233,7 +233,7 @@ public final class EventListenerRegistry
     {
         for (final ServletContextAttributeListener l : contextAttributeListeners.getActiveListeners())
         {
-            l.attributeReplaced(event);
+            l.attributeRemoved(event);
         }
     }
 
@@ -242,7 +242,7 @@ public final class EventListenerRegistry
     {
         for (final ServletContextAttributeListener l : contextAttributeListeners.getActiveListeners())
         {
-            l.attributeReplaced(event);
+            l.attributeAdded(event);
         }
     }
 



Mime
View raw message