<commit_before>package com.gethub.kory33.githubbukkitpluginupdateapi.config;

import java.io.File;

import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.configuration.file.YamlConfiguration;

import com.gethub.kory33.githubbukkitpluginupdateapi.UpdateNotifyPlugin;

/**
 * Bukkit-configuration handler
 * @author Kory33
 *
 */
public class ConfigHandler {
    /** Path to the configuration file */
    private final FileConfiguration fConfiguration;

    public ConfigHandler(UpdateNotifyPlugin plugin, String configPath){
        File file = new File(plugin.getDataFolder(), configPath);
        this.fConfiguration = YamlConfiguration.loadConfiguration(file);
    }
}<commit_msg>added implementation for shouldLogUpToDate<commit_after>package com.gethub.kory33.githubbukkitpluginupdateapi.config;

import java.io.File;

import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.configuration.file.YamlConfiguration;

import com.gethub.kory33.githubbukkitpluginupdateapi.UpdateNotifyPlugin;

/**
 * Bukkit-configuration handler
 * @author Kory33
 *
 */
public class ConfigHandler {
    private static final String LOG_UP_TO_DATE_PATH = "logUpToDate";
    
    /** Path to the configuration file */
    private final FileConfiguration fConfiguration;

    public ConfigHandler(UpdateNotifyPlugin plugin, String configPath){
        File file = new File(plugin.getDataFolder(), configPath);
        this.fConfiguration = YamlConfiguration.loadConfiguration(file);
    }
    
    /**
     * Return true, in reference to the configuration file, if the plugin should log up-to-date status
     * @return value of LOG_UP_TO_DATE_PATH defined in ConfigHandler
     */
    public boolean shouldLogUpToDate(){
        return this.fConfiguration.getBoolean(LOG_UP_TO_DATE_PATH, false);
    }
}
{'fraction_non_alphanumeric': 0.08347062053816584, 'fraction_numerical': 0.006589785831960461, 'mean_word_length': 4.504531722054381, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3440671', 'n_tokens_mistral': 510, 'n_tokens_neox': 498, 'n_words': 113}