<commit_before>package misc;

import java.io.File;
import java.util.List;

public class Job {
    /** The unique id of the Job. */
    private int id;
    /** The name of the Job. */
    private String name;
    /** A rough description of the Job. */
    private String description;
    /** The directory in which to place the output file(s). */
    private String outputDirectory;
    /** The file(s) belonging to the Job.*/
    private List<File> files;
    /** Whether or not the Job is an Encode Job. If not, then it's a Decode Job. */
    private boolean isEncodeJob;

    /** Whether or not to pack all of the currently selected files into a single archive before encoding. */
    private boolean combineAllFilesIntoSingleArchive = false;
    /** Whether or not to pack every handler into it's own individual archive before encoding each handler individually. */
    private boolean combineIntoIndividualArchives = false;

    /**
     * Constructs a new Job with the specified parameters.
     * @param name The name of the Job.
     * @param description A rough description of the Job.
     * @param outputDirectory The directory in which to place the output file(s).
     * @param files The file(s) belonging to the Job.
     * @param isEncodeJob Whether or not the Job is an Encode Job. If not, then it's a Decode Job.
     * @param combineAllFilesIntoSingleArchive Whether or not to pack all of the currently selected files into a single archive before encoding.
     * @param combineIntoIndividualArchives Whether or not to pack every handler into it's own individual archive before encoding each handler individually.
     */
    public Job(final String name, final String description, final String outputDirectory, final List<File> files, final boolean isEncodeJob, final boolean combineAllFilesIntoSingleArchive, final boolean combineIntoIndividualArchives) {
        this.name = name;
        this.description = description;
        this.outputDirectory = outputDirectory;
        this.files = files;
        this.isEncodeJob = isEncodeJob;
        this.combineAllFilesIntoSingleArchive = combineAllFilesIntoSingleArchive;
        this.combineIntoIndividualArchives = combineIntoIndividualArchives;
    }

    ////////////////////////////////////////////////////////// Getters

    /** @return The full designation of the Job. This includes the unique ID, type, and name. */
    public String getFullDesignation() {
        String s = "";
        s += id;
        s += " - ";
        s += (isEncodeJob ? "Encode" : "Decode");
        s += " - ";
        s += name;
        return s;
    }

    /** @return The unique id of the Job. */
    public int getId() {
        return id;
    }

    /** @return The name of the Job. */
    public String getName() {
        return name;
    }

    /** @return A rough description of the Job. */
    public String getDescription() {
        return description;
    }

    /** @return The directory in which to place the output files.  */
    public String getOutputDirectory() {
        return outputDirectory;
    }

    /** @return The file(s) belonging to the Job.*/
    public List<File> getFiles() {
        return files;
    }

    /** @return Whether or not the Job is an Encode Job. If not, then it's a Decode Job. */
    public boolean getIsEncodeJob() {
        return isEncodeJob;
    }

    /** @return Whether or not to combine all of the input files into a single archive when encoding. */
    public boolean getCombineAllFilesIntoSingleArchive() {
        return combineAllFilesIntoSingleArchive;
    }

    /** @return Whether or not to pack every handler into it's own individual archive before encoding each handler individually. */
    public boolean getCombineIntoIndividualArchives() {
        return combineIntoIndividualArchives;
    }

    /** @return The combined total filesize of all file(s) in the Job. */
    public long getTotalJobSize() {
        long temp = 0;

        for(final File f : files) {
            temp += f.length();
        }

        return temp;
    }

    ////////////////////////////////////////////////////////// Setters

    // todo JavaDoc
    public void setId(final int id) {
        this.id = id;
    }
}
<commit_msg>Reverted the last change to the class.<commit_after>package misc;

import java.io.File;
import java.util.List;

public class Job {
    /** The unique id of the Job. */
    private int id;
    /** The name of the Job. */
    private String name;
    /** A rough description of the Job. */
    private String description;
    /** The directory in which to place the output file(s). */
    private String outputDirectory;
    /** The file(s) belonging to the Job.*/
    private List<File> files;
    /** Whether or not the Job is an Encode Job. If not, then it's a Decode Job. */
    private boolean isEncodeJob;

    /** Whether or not to pack all of the currently selected files into a single archive before encoding. */
    private boolean combineAllFilesIntoSingleArchive = false;
    /** Whether or not to pack every handler into it's own individual archive before encoding each handler individually. */
    private boolean combineIntoIndividualArchives = false;

    /**
     * Constructs a new Job with the specified parameters.
     * @param name The name of the Job.
     * @param description A rough description of the Job.
     * @param outputDirectory The directory in which to place the output file(s).
     * @param files The file(s) belonging to the Job.
     * @param isEncodeJob Whether or not the Job is an Encode Job. If not, then it's a Decode Job.
     * @param combineAllFilesIntoSingleArchive Whether or not to pack all of the currently selected files into a single archive before encoding.
     * @param combineIntoIndividualArchives Whether or not to pack every handler into it's own individual archive before encoding each handler individually.
     */
    public Job(final String name, final String description, final String outputDirectory, final List<File> files, final boolean isEncodeJob, final boolean combineAllFilesIntoSingleArchive, final boolean combineIntoIndividualArchives) {
        this.name = name;
        this.description = description;
        this.outputDirectory = outputDirectory;
        this.files = files;
        this.isEncodeJob = isEncodeJob;
        this.combineAllFilesIntoSingleArchive = combineAllFilesIntoSingleArchive;
        this.combineIntoIndividualArchives = combineIntoIndividualArchives;
    }

    ////////////////////////////////////////////////////////// Getters

    /** @return The full designation of the Job. This includes the unique ID, type, and name. */
    public String getFullDesignation() {
        String s = "";
        s += id;
        s += " - ";
        s += (isEncodeJob ? "Encode" : "Decode");
        s += " - ";
        s += name;
        return s;
    }

    /** @return The unique id of the Job. */
    public int getId() {
        return id;
    }

    /** @return The name of the Job. */
    public String getName() {
        return name;
    }

    /** @return A rough description of the Job. */
    public String getDescription() {
        return description;
    }

    /** @return The directory in which to place the output files.  */
    public String getOutputDirectory() {
        return outputDirectory;
    }

    /** @return The file(s) belonging to the Job.*/
    public List<File> getFiles() {
        return files;
    }

    /** @return Whether or not the Job is an Encode Job. If not, then it's a Decode Job. */
    public boolean getIsEncodeJob() {
        return isEncodeJob;
    }

    /** @return Whether or not to combine all of the input files into a single archive when encoding. */
    public boolean getCombineAllFilesIntoSingleArchive() {
        return combineAllFilesIntoSingleArchive;
    }

    /** @return Whether or not to pack every handler into it's own individual archive before encoding each handler individually. */
    public boolean getCombineIntoIndividualArchives() {
        return combineIntoIndividualArchives;
    }

    ////////////////////////////////////////////////////////// Setters

    // todo JavaDoc
    public void setId(final int id) {
        this.id = id;
    }
}

{'fraction_non_alphanumeric': 0.10679611650485436, 'fraction_numerical': 0.00012135922330097087, 'mean_word_length': 2.3871763255240444, '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': '4110650', 'n_tokens_mistral': 2109, 'n_tokens_neox': 2018, 'n_words': 877}