<commit_before>package com.ardverk.dht.io;

import com.ardverk.dht.message.Message;

public abstract class AbstractMessageHandler<T extends Message> 
        implements MessageHandler<T> {

    protected final MessageDispatcher messageDispatcher;
    
    public AbstractMessageHandler(MessageDispatcher messageDispatcher) {
        if (messageDispatcher == null) {
            throw new NullPointerException("messageDispatcher");
        }
        
        this.messageDispatcher = messageDispatcher;
    }
}<commit_msg>Adding a get method<commit_after>package com.ardverk.dht.io;

import com.ardverk.dht.message.Message;

public abstract class AbstractMessageHandler<T extends Message> 
        implements MessageHandler<T> {

    protected final MessageDispatcher messageDispatcher;
    
    public AbstractMessageHandler(MessageDispatcher messageDispatcher) {
        if (messageDispatcher == null) {
            throw new NullPointerException("messageDispatcher");
        }
        
        this.messageDispatcher = messageDispatcher;
    }
    
    public MessageDispatcher getMessageDispatcher() {
        return messageDispatcher;
    }
}
{'fraction_non_alphanumeric': 0.06887532693984307, 'fraction_numerical': 0.0, 'mean_word_length': 3.3484848484848486, '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': '2371967', 'n_tokens_mistral': 295, 'n_tokens_neox': 271, 'n_words': 62}