You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by cz...@apache.org on 2015/06/25 00:52:52 UTC
svn commit: r1687391 -
/felix/trunk/http/base/src/main/java/org/apache/felix/http/base/internal/registry/EventListenerRegistry.java
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);
}
}