@Test @SuppressWarnings("nls") public void testHashCode() { assertHashCodeContract( new CommitCherryPickConflictResolve("branch", "commit", "text"), new CommitCherryPickConflictResolve("branch", "commit", "text")); }
@Override public int hashCode() { return new HashCodeBuilder() .append(targetBranch) .append(commit) .append(text) .toHashCode(); }
CommitCherryPickConflictResolve { @Override public int hashCode() { return new HashCodeBuilder() .append(targetBranch) .append(commit) .append(text) .toHashCode(); } }
CommitCherryPickConflictResolve { @Override public int hashCode() { return new HashCodeBuilder() .append(targetBranch) .append(commit) .append(text) .toHashCode(); } CommitCherryPickConflictResolve(String targetBranch, String commit, String text); }
CommitCherryPickConflictResolve { @Override public int hashCode() { return new HashCodeBuilder() .append(targetBranch) .append(commit) .append(text) .toHashCode(); } CommitCherryPickConflictResolve(String targetBranch, String commit, String text); @Override boolean equals(Object o); @Override int hashCode(); }
CommitCherryPickConflictResolve { @Override public int hashCode() { return new HashCodeBuilder() .append(targetBranch) .append(commit) .append(text) .toHashCode(); } CommitCherryPickConflictResolve(String targetBranch, String commit, String text); @Override boolean equals(Object o); @Override int hashCode();  }