<commit_before>package com.redhat.ceylon.cmr.api;

import java.util.Arrays;
import java.util.NavigableSet;
import java.util.SortedSet;
import java.util.TreeSet;

public class ModuleVersionDetails {
    private String version;
    private String license;
    private NavigableSet<String> authors = new TreeSet<String>();
    private NavigableSet<ModuleInfo> dependencies = new TreeSet<ModuleInfo>();
    private String doc;

    public ModuleVersionDetails(String version) {
        this.version = version;
    }

    public ModuleVersionDetails(String version, String doc, String license, String... by) {
        this(version);
        this.doc = doc;
        this.license = license;
        this.authors.addAll(Arrays.asList(by));
    }

    public void setDoc(String doc) {
        this.doc = doc;
    }

    public void setAuthors(SortedSet<String> authors) {
        this.authors.clear();
        this.authors.addAll(authors);
    }

    public void setLicense(String license) {
        this.license = license;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getLicense() {
        return license;
    }

    public NavigableSet<String> getAuthors() {
        return authors;
    }

    public String getDoc() {
        return doc;
    }

    public NavigableSet<ModuleInfo> getDependencies() {
        return dependencies;
    }
}<commit_msg>Code cleanup and reordering<commit_after>package com.redhat.ceylon.cmr.api;

import java.util.Arrays;
import java.util.NavigableSet;
import java.util.SortedSet;
import java.util.TreeSet;

public class ModuleVersionDetails {
    private String version;
    private String doc;
    private String license;
    private NavigableSet<String> authors = new TreeSet<String>();
    private NavigableSet<ModuleInfo> dependencies = new TreeSet<ModuleInfo>();

    public ModuleVersionDetails(String version) {
        this.version = version;
    }

    public ModuleVersionDetails(String version, String doc, String license, String... by) {
        this(version);
        this.doc = doc;
        this.license = license;
        this.authors.addAll(Arrays.asList(by));
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getDoc() {
        return doc;
    }

    public void setDoc(String doc) {
        this.doc = doc;
    }

    public String getLicense() {
        return license;
    }

    public void setLicense(String license) {
        this.license = license;
    }

    public NavigableSet<String> getAuthors() {
        return authors;
    }

    public void setAuthors(SortedSet<String> authors) {
        this.authors.clear();
        this.authors.addAll(authors);
    }

    public NavigableSet<ModuleInfo> getDependencies() {
        return dependencies;
    }
}
{'fraction_non_alphanumeric': 0.09533468559837728, 'fraction_numerical': 0.0, 'mean_word_length': 2.6712158808933, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '533861', 'n_tokens_mistral': 858, 'n_tokens_neox': 823, 'n_words': 205}