@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((affectedPaths == null) ? 0 : affectedPaths.hashCode()); result = prime * result + ((author == null) ? 0 : author.hashCode()); result = prime * result + ((comment == null) ? 0 : comment.hashCode()); result = prime * result + ((commitId == null) ? 0 : commitId.hashCode()); result = prime * result + ((date == null) ? 0 : date.hashCode()); result = prime * result + ((id == null) ? 0 : id.hashCode()); result = prime * result + ((msg == null) ? 0 : msg.hashCode()); result = prime * result + ((paths == null) ? 0 : paths.hashCode()); result = prime * result + ((timestamp == null) ? 0 : timestamp.hashCode()); return result; }
if (other.author != null) return false; } else if (!author.equals(other.author)) return false; if (comment == null) {
if (other.author != null) return false; } else if (!author.equals(other.author)) return false; if (comment == null) {
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((affectedPaths == null) ? 0 : affectedPaths.hashCode()); result = prime * result + ((author == null) ? 0 : author.hashCode()); result = prime * result + ((comment == null) ? 0 : comment.hashCode()); result = prime * result + ((commitId == null) ? 0 : commitId.hashCode()); result = prime * result + ((date == null) ? 0 : date.hashCode()); result = prime * result + ((id == null) ? 0 : id.hashCode()); result = prime * result + ((msg == null) ? 0 : msg.hashCode()); result = prime * result + ((paths == null) ? 0 : paths.hashCode()); result = prime * result + ((timestamp == null) ? 0 : timestamp.hashCode()); return result; }