Skip to content

Commit

Permalink
Revert "Issue #1: Override method hashCode() because class overrides …
Browse files Browse the repository at this point in the history
…equals()…"
  • Loading branch information
Sriluharshini authored Feb 14, 2024
1 parent 56a96d1 commit 94f2ade
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 94f2ade

Please sign in to comment.