commit | 722ff44c3967d527bc0ba2f60069382bd1228e43 | [log] [tgz] |
---|---|---|
author | Carsten Ziegeler <cziegeler@apache.org> | Wed Apr 11 13:59:31 2012 +0000 |
committer | Carsten Ziegeler <cziegeler@apache.org> | Wed Apr 11 13:59:31 2012 +0000 |
tree | b1f93f72511a3dbc7cc373f3278a107e99a307d8 | |
parent | 0159bf92839322f3093a9bb70f9bbb587edeef7e [diff] |
FELIX-3453 : EventAdmin ignoring filters for handler which are registered for all (*) topics git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1324766 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/eventadmin/impl/src/main/java/org/apache/felix/eventadmin/impl/handler/EventHandlerProxy.java b/eventadmin/impl/src/main/java/org/apache/felix/eventadmin/impl/handler/EventHandlerProxy.java index 7216f40..40a4a69 100644 --- a/eventadmin/impl/src/main/java/org/apache/felix/eventadmin/impl/handler/EventHandlerProxy.java +++ b/eventadmin/impl/src/main/java/org/apache/felix/eventadmin/impl/handler/EventHandlerProxy.java
@@ -136,7 +136,7 @@ } // Second check filter (but only if topics is valid) Filter handlerFilter = null; - if ( this.topics != null ) + if ( valid ) { final Object filterObj = reference.getProperty(EventConstants.EVENT_FILTER); if (filterObj instanceof String)