Skip to content

Commit

Permalink
Override equals and hashCode methods
Browse files Browse the repository at this point in the history
  • Loading branch information
BewareMyPower committed Feb 2, 2023
1 parent 2196dba commit bb7e64e
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,14 @@ public String getTopicName() {
public String getTopicPartitionName() {
return getOwnerTopic();
}

@Override
public boolean equals(Object obj) {
return super.equals(obj);
}

@Override
public int hashCode() {
return super.hashCode();
}
}

0 comments on commit bb7e64e

Please sign in to comment.