<commit_before>package model.entity;

import api.IComponent;
import api.ITemplateLoader;
import com.google.common.collect.Maps;

import java.util.Enumeration;
import java.util.Map;
import java.util.ResourceBundle;

/**
 * A ITemplateLoader for resource files.
 * {@inheritDoc}
 *
 * @author <NAME>
 */
public class PropertiesTemplateLoader implements ITemplateLoader<Class<? extends IComponent>> {

    private static final String COMPONENT_LOCATIONS = "componentLocations";

    /**
     * The resource Bundle for component locations.
     */
    private final ResourceBundle locationsBundle = ResourceBundle.getBundle(COMPONENT_LOCATIONS);

    /**
     * {@inheritDoc}
     * An implementation for resource bundles.
     *
     * @param resourceFile the resource file.
     * @return the specs map<commit_msg>Fixed someone's package move.<commit_after>package model.entity;

import api.IComponent;
import api.ITemplateLoader;
import com.google.common.collect.Maps;

import java.util.Enumeration;
import java.util.Map;
import java.util.ResourceBundle;

/**
 * A ITemplateLoader for resource files.
 * {@inheritDoc}
 *
 * @author <NAME>
 */
public class PropertiesTemplateLoader implements ITemplateLoader<Class<? extends IComponent>> {

    private static final String COMPONENT_LOCATIONS = "propertyFiles/componentLocations";

    /**
     * The resource Bundle for component locations.
     */
    private final ResourceBundle locationsBundle = ResourceBundle.getBundle(COMPONENT_LOCATIONS);

    /**
     * {@inheritDoc}
     * An implementation for resource bundles.
     *
     * @param resourceFile the resource file.
     * @return the specs map
{'fraction_non_alphanumeric': 0.09371221281741234, 'fraction_numerical': 0.0, 'mean_word_length': 3.9849397590361444, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '2758892', 'n_tokens_mistral': 453, 'n_tokens_neox': 443, 'n_words': 124}