<commit_before>package com.bwfcwalshy.flarebot.objects;

import java.util.ArrayList;
import java.util.List;

public class PollOption {

    private String option;
    private int votes;
    private List<String> voters = new ArrayList<>();

    public PollOption(String option) {
        this.option = option;
    }

    public void incrementVotes(String userId) {
        this.votes++;
        this.voters.add(userId);
    }

    public String getOption() {
        return option;
    }

    public int getVotes() {
        return this.votes;
    }
}<commit_msg>Anti rigging prevention<commit_after>package com.bwfcwalshy.flarebot.objects;

import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;

public class PollOption {

    private String option;
    private Set<String> votes = ConcurrentHashMap.newKeySet();

    public PollOption(String option) {
        this.option = option;
    }

    public void incrementVotes(String userId) {
        this.votes.add(userId);
    }

    public String getOption() {
        return option;
    }

    public int getVotes() {
        return this.votes.size();
    }
}
{'fraction_non_alphanumeric': 0.09795191451469279, 'fraction_numerical': 0.0, 'mean_word_length': 2.771812080536913, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '827054', 'n_tokens_mistral': 340, 'n_tokens_neox': 331, 'n_words': 79}