<commit_before>package com.kierdavis.mymotd;

import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;

public class MOTDCommandExecutor implements CommandExecutor {
    private MyMOTD plugin;
    
    public MOTDCommandExecutor(MyMOTD plugin_) {
        plugin = plugin_;
    }
    
    public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
        if (args.length > 0) {
            StringBuilder b = new StringBuilder();
            b.append(args[0]);
            
            for (int i = 1; i < args.length; i++) {
                b.append(" ").append(args[i]);
            }
            
            plugin.setMOTD(b.toString().replaceAll("&", "\247"));
        }
        
        sender.sendMessage("\247eMOTD is: \247r" + plugin.getMOTD());
    }<commit_msg>Fixed compile errors<commit_after>package com.kierdavis.mymotd;

import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;

public class MOTDCommandExecutor implements CommandExecutor {
    private MyMOTD plugin;
    
    public MOTDCommandExecutor(MyMOTD plugin_) {
        plugin = plugin_;
    }
    
    public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
        if (args.length > 0) {
            StringBuilder b = new StringBuilder();
            b.append(args[0]);
            
            for (int i = 1; i < args.length; i++) {
                b.append(" ").append(args[i]);
            }
            
            plugin.setMOTD(b.toString().replaceAll("&", "\247"));
        }
        
        sender.sendMessage("\247eMOTD is: \247r" + plugin.getMOTD());
        
        return true;
    }
{'fraction_non_alphanumeric': 0.11714770797962648, 'fraction_numerical': 0.013582342954159592, 'mean_word_length': 2.179856115107914, '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': '1049938', 'n_tokens_mistral': 540, 'n_tokens_neox': 512, 'n_words': 112}