Skip to content

Commit

Permalink
fix: implemented equals for just in case
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex4386 committed Apr 1, 2024
1 parent 2288fb3 commit 9b25a0b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,8 @@ enum MovieMPAARating {
public int getRatingId() {
return this.ratingId;
}
public boolean equals(MovieMPAARating other) {
return this.ratingId == other.getRatingId();
}
}

0 comments on commit 9b25a0b

Please sign in to comment.