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

import com.jenjinstudios.core.Connection;
import com.jenjinstudios.core.io.Message;

import java.util.logging.Level;
import java.util.logging.Logger;

/**
 * Invoked when a {@code Connection} reveives notification that an invalid message was received.
 *
 * @author <NAME>
 */
public class InvalidExecutableMessage extends ExecutableMessage
{
	private static final Logger LOGGER = Logger.getLogger(InvalidExecutableMessage.class.getName());

	/**
	 * Construct a new {@code InvalidExecutableMessage}.
	 *
	 * @param connection The connection invoking this executable message.
	 * @param message The message which caused this executable message to be invoked.
	 */
	@SuppressWarnings("WeakerAccess")
	public InvalidExecutableMessage(Connection connection, Message message) {
		super(message);
		LOGGER.log(Level.INFO, "InvalidExecutableMessage created for connection {0}", connection);
	}

	@Override
	public void runDelayed() {
	}

	@Override
	public void runImmediate() {
		String messageName = (String) getMessage().getArgument("messageName");
		short messageID = (short) getMessage().getArgument("messageID");
		String reportMessage = "Connection reported invalid sent message: " + messageName + " (ID:  " + messageID +
			  ")";
		LOGGER.log(Level.SEVERE, reportMessage);
	}
}<commit_msg>Replaced string concatenation with character concatenation for performance purposes<commit_after>package com.jenjinstudios.core.message;

import com.jenjinstudios.core.Connection;
import com.jenjinstudios.core.io.Message;

import java.util.logging.Level;
import java.util.logging.Logger;

/**
 * Invoked when a {@code Connection} reveives notification that an invalid message was received.
 *
 * @author <NAME>
 */
public class InvalidExecutableMessage extends ExecutableMessage
{
	private static final Logger LOGGER = Logger.getLogger(InvalidExecutableMessage.class.getName());

	/**
	 * Construct a new {@code InvalidExecutableMessage}.
	 *
	 * @param connection The connection invoking this executable message.
	 * @param message The message which caused this executable message to be invoked.
	 */
	@SuppressWarnings("WeakerAccess")
	public InvalidExecutableMessage(Connection connection, Message message) {
		super(message);
		LOGGER.log(Level.INFO, "InvalidExecutableMessage created for connection {0}", connection);
	}

	@Override
	public void runDelayed() {
	}

	@Override
	public void runImmediate() {
		String messageName = (String) getMessage().getArgument("messageName");
		short messageID = (short) getMessage().getArgument("messageID");
        String reportMessage = "Connection reported invalid sent message: " + messageName + " (ID:  " + messageID + ')';
        LOGGER.log(Level.SEVERE, reportMessage);
	}
}
{'fraction_non_alphanumeric': 0.10457987738910927, 'fraction_numerical': 0.000721240533717995, 'mean_word_length': 5.219730941704036, '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': '3114090', 'n_tokens_mistral': 780, 'n_tokens_neox': 750, 'n_words': 214}