<commit_before>package org.jeecqrs.events;

/**
 * Provides the ability to send events to interested listeners (publish-subscribe).
 * 
 * @param <E>   the base message type
 */
public interface EventBus<E> {

    /**
     * Dispatches and event in the given bucket on the event bus.
     * 
     * @param bucketId  the bucket in which the event shall be sent
     * @param event     the event to dispatch
     */
    void dispatch(String bucketId, E event);
    
}<commit_msg>Fix EventBus interface<commit_after>package org.jeecqrs.events;

/**
 * Provides the ability to send events to interested listeners (publish-subscribe).
 * 
 * @param <E>   the base message type
 */
public interface EventBus<E> {

    /**
     * Dispatches and event on the event bus.
     * 
     * @param event     the event to dispatch
     */
    void dispatch(E event);
    
}
{'fraction_non_alphanumeric': 0.09207459207459208, 'fraction_numerical': 0.0, 'mean_word_length': 2.65531914893617, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3828156', 'n_tokens_mistral': 251, 'n_tokens_neox': 243, 'n_words': 93}