Skip to content

Commit

Permalink
Merge pull request #14 from SonamChugh13/revert-13-sonam
Browse files Browse the repository at this point in the history
Revert "Issue #1: Override method hashCode() because class overrides …
  • Loading branch information
Sriluharshini authored Feb 14, 2024
2 parents 56a96d1 + 94f2ade commit 9ada8a5
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -383,14 +383,6 @@ public boolean equals(Object o) {
return toString().equals(o.toString());
}

@Override
public int hashCode() {
final int primeNumber = 31;
int result = 1;
result = result * primeNumber + (startTime == null ? 0 : startTime.hashCode());
return result;
}

@NonNull
@Override
public String toString() {
Expand Down

0 comments on commit 9ada8a5

Please sign in to comment.