<commit_before>package net.cserny.videosmover.model;

import java.nio.file.Path;
import java.util.List;

public class Video {

    private Path inputPath;
    private String inputFilename;
    private Path outputPath;
    private String outputFolderName;
    private List<Path> subtitles;
    private VideoType videoType;

    public Path getInputPath() {
        return inputPath;
    }

    public void setInputPath(Path inputPath) {
        this.inputPath = inputPath;
    }

    public String getInputFilename() {
        return inputFilename;
    }

    public void setInputFilename(String inputFilename) {
        this.inputFilename = inputFilename;
    }

    public Path getOutputPath() {
        return outputPath;
    }

    public void setOutputPath(Path outputPath) {
        this.outputPath = outputPath;
    }

    public String getOutputFolderName() {
        return outputFolderName;
    }

    public void setOutputFolderName(String outputFolderName) {
        this.outputFolderName = outputFolderName;
    }

    public VideoType getVideoType() {
        return videoType;
    }

    public void setVideoType(VideoType videoType) {
        this.videoType = videoType;
    }

    public List<Path> getSubtitles() {
        return subtitles;
    }

    public void setSubtitles(List<Path> subtitles) {
        this.subtitles = subtitles;
    }
}
<commit_msg>issues/55: adds equals/hashcode to Video pojo<commit_after>package net.cserny.videosmover.model;

import java.nio.file.Path;
import java.util.List;
import java.util.Objects;

public class Video {

    private Path inputPath;
    private String inputFilename;
    private Path outputPath;
    private String outputFolderName;
    private List<Path> subtitles;
    private VideoType videoType;

    public Path getInputPath() {
        return inputPath;
    }

    public void setInputPath(Path inputPath) {
        this.inputPath = inputPath;
    }

    public String getInputFilename() {
        return inputFilename;
    }

    public void setInputFilename(String inputFilename) {
        this.inputFilename = inputFilename;
    }

    public Path getOutputPath() {
        return outputPath;
    }

    public void setOutputPath(Path outputPath) {
        this.outputPath = outputPath;
    }

    public String getOutputFolderName() {
        return outputFolderName;
    }

    public void setOutputFolderName(String outputFolderName) {
        this.outputFolderName = outputFolderName;
    }

    public VideoType getVideoType() {
        return videoType;
    }

    public void setVideoType(VideoType videoType) {
        this.videoType = videoType;
    }

    public List<Path> getSubtitles() {
        return subtitles;
    }

    public void setSubtitles(List<Path> subtitles) {
        this.subtitles = subtitles;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        Video video = (Video) o;
        return Objects.equals(inputPath, video.inputPath) &&
                Objects.equals(inputFilename, video.inputFilename) &&
                Objects.equals(outputPath, video.outputPath) &&
                Objects.equals(outputFolderName, video.outputFolderName) &&
                Objects.equals(subtitles, video.subtitles) &&
                videoType == video.videoType;
    }

    @Override
    public int hashCode() {
        return Objects.hash(inputPath, inputFilename, outputPath, outputFolderName, subtitles, videoType);
    }

    @Override
    public String toString() {
        return "Video{" +
                "inputPath=" + inputPath +
                ", inputFilename='" + inputFilename + '\'' +
                ", outputPath=" + outputPath +
                ", outputFolderName='" + outputFolderName + '\'' +
                ", subtitles=" + subtitles +
                ", videoType=" + videoType +
                '}';
    }
}

{'fraction_non_alphanumeric': 0.08800405782399189, 'fraction_numerical': 0.000507227998985544, 'mean_word_length': 2.432550043516101, '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': '4438900', 'n_tokens_mistral': 1122, 'n_tokens_neox': 1074, 'n_words': 256}