<commit_before>package af.props;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;

import org.springframework.boot.context.properties.ConfigurationProperties;

import lombok.Getter;

/**
 * Java collections.
 * <p>
 * As per documentation only field getters are needed.
 *
 * @author <NAME>
 */
@ConfigurationProperties(prefix = "collections")
@Getter
public class CollectionsProperties {

    /**
     * A set of doubles.
     */
    private Set<Double> set = new HashSet<>();
    /**
     * A list of strings.
     */
    private List<String> list = new ArrayList<>();
    /**
     * A map of strings indexed by integers.
     */
    private Map<Integer, String> map = new HashMap<>();

}<commit_msg>Fix initialization of the Set trough comma separated values<commit_after>package af.props;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;

import org.springframework.boot.context.properties.ConfigurationProperties;

import lombok.Getter;
import lombok.Setter;

/**
 * Java collections.
 * <p>
 * The {@code set} field has the setter to support initialization from a string of comma separated values.
 *
 * @author <NAME>
 */
@ConfigurationProperties(prefix = "collections")
public class CollectionsProperties {

    /**
     * A set of doubles.
     */
    @Getter
    @Setter
    private Set<Double> set = new HashSet<>();
    /**
     * A list of strings.
     */
    @Getter
    private List<String> list = new ArrayList<>();
    /**
     * A map of strings indexed by integers.
     */
    @Getter
    private Map<Integer, String> map = new HashMap<>();

}
{'fraction_non_alphanumeric': 0.12145289443813848, 'fraction_numerical': 0.0, 'mean_word_length': 3.258454106280193, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '3864543', 'n_tokens_mistral': 516, 'n_tokens_neox': 509, 'n_words': 158}