<commit_before>package runtime;

import de.example.VehicleSupport;
import org.openrdf.model.Resource;
import org.openrdf.repository.object.ObjectConnection;

import java.util.HashSet;
import java.util.Set;

/**
 * An implementation of the VehicleSupport class
 * simulating Anno4j behaviour.
 */
public class VehicleSupportImpl extends VehicleSupport {

    private Set<String> names = new HashSet<>();

    private Set<String> officialNames = new HashSet<>();

    private Set<Integer> numberOfSeats = new HashSet<>();

    @Override
    public Set<String> getHasOfficialNames() {
        return officialNames;
    }

    @Override
    public Set<String> getHasNames() {
        return names;
    }

    @Override
    public Set<Integer> getNumberOfSeats() {
        return numberOfSeats;
    }

    @Override
    public void setHasNames(Set<String> names) {
        this.names.clear();
        this.names.addAll(names);
    }

    @Override<commit_msg>Referenced Issue #129.<commit_after>package runtime;

import de.example.VehicleSupport;
import org.openrdf.model.Resource;
import org.openrdf.repository.object.ObjectConnection;

import java.util.HashSet;
import java.util.Set;

/**
 * An implementation of the VehicleSupport class
 * simulating Anno4j behaviour (see Issue #129).
 */
public class VehicleSupportImpl extends VehicleSupport {

    private Set<String> names = new HashSet<>();

    private Set<String> officialNames = new HashSet<>();

    private Set<Integer> numberOfSeats = new HashSet<>();

    @Override
    public Set<String> getHasOfficialNames() {
        return officialNames;
    }

    @Override
    public Set<String> getHasNames() {
        return names;
    }

    @Override
    public Set<Integer> getNumberOfSeats() {
        return numberOfSeats;
    }

    @Override
    public void setHasNames(Set<String> names) {
        this.names.clear();
        this.names.addAll(names);
    }

    @Override
{'fraction_non_alphanumeric': 0.10289555325749741, 'fraction_numerical': 0.004136504653567736, 'mean_word_length': 3.3288590604026846, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '6746199', 'n_tokens_mistral': 575, 'n_tokens_neox': 547, 'n_words': 138}