package com.jdblabs.file.treediff public class FileEntry { File file String relativePath String checksum public boolean equals(Object that) { if (that == null) return falase if (!(that instanceof FileEntry)) return false return this.relativePath == that.relativePath && this.checksum == that.checksum; } }