Skip to content

Commit

Permalink
add pre event
Browse files Browse the repository at this point in the history
  • Loading branch information
FANNG1 committed Oct 7, 2024
1 parent 57f237b commit f4a9fdb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
* within its internal management.
*/
public class EventBus {
private static final Logger LOG = LoggerFactory.getLogger(EventListenerManager.class);
private static final Logger LOG = LoggerFactory.getLogger(EventBus.class);

// Holds instances of EventListenerPlugin. These instances can either be
// EventListenerPluginWrapper,
Expand All @@ -55,7 +55,7 @@ public EventBus(List<EventListenerPlugin> eventListenerPlugins) {
// todo: use a more general way to create preEventListeners
this.preEventListeners =
postEventListeners.stream()
.filter(eventListenerPlugin -> eventListenerPlugin instanceof AsyncQueueListener)
.filter(eventListenerPlugin -> !(eventListenerPlugin instanceof AsyncQueueListener))
.collect(Collectors.toList());
}

Expand Down

0 comments on commit f4a9fdb

Please sign in to comment.