<commit_before>package com.jenjinstudios.client.message;

import com.jenjinstudios.client.net.Client;
import com.jenjinstudios.core.io.Message;
import com.jenjinstudios.core.ExecutableMessage;

/**
 * Superclass of ExecutableMessages used by the client.
 *
 * @author <NAME>
 */
// TODO This class can probably be refactored away; should the subclasses just cast the constructor arguments?
public abstract class ClientExecutableMessage extends ExecutableMessage
{
    /** The client invoking this ExecutableMessage. */
    private final Client client;

    /**
     * Construct an ExecutableMessage with the given Message.
     *
     * @param client The client invoking this message.
     * @param message The Message.
     */
    ClientExecutableMessage(Client client, Message message) {
        super(client, message);
        this.client = client;
    }

    /**
     * Get the client invoking this ExecutableMessage.
     *
     * @return The client invoking this ExecutableMessage.
     */
    public Client getConnection() {
        return client;
    }
}<commit_msg>Added @Override annotation<commit_after>package com.jenjinstudios.client.message;

import com.jenjinstudios.client.net.Client;
import com.jenjinstudios.core.io.Message;
import com.jenjinstudios.core.ExecutableMessage;

/**
 * Superclass of ExecutableMessages used by the client.
 *
 * @author <NAME>
 */
// TODO This class can probably be refactored away; should the subclasses just cast the constructor arguments?
public abstract class ClientExecutableMessage extends ExecutableMessage
{
    /** The client invoking this ExecutableMessage. */
    private final Client client;

    /**
     * Construct an ExecutableMessage with the given Message.
     *
     * @param client The client invoking this message.
     * @param message The Message.
     */
    ClientExecutableMessage(Client client, Message message) {
        super(client, message);
        this.client = client;
    }

    /**
     * Get the client invoking this ExecutableMessage.
     *
     * @return The client invoking this ExecutableMessage.
     */
    @Override
    public Client getConnection() {
        return client;
    }
}
{'fraction_non_alphanumeric': 0.08183908045977012, 'fraction_numerical': 0.0, 'mean_word_length': 3.1685823754789273, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '3528412', 'n_tokens_mistral': 583, 'n_tokens_neox': 568, 'n_words': 185}