Skip to content

Commit

Permalink
[ISSUE apache#7851] Fix hashcode and equals methods of SubscriptionGr…
Browse files Browse the repository at this point in the history
…oupConfig
  • Loading branch information
glcrazier authored Feb 27, 2024
1 parent 0b05e9c commit 471dbc0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ public int hashCode() {
result = prime * result + (consumeEnable ? 1231 : 1237);
result = prime * result + (consumeFromMinEnable ? 1231 : 1237);
result = prime * result + (notifyConsumerIdsChangedEnable ? 1231 : 1237);
result = prime * result + (consumeMessageOrderly ? 1231 : 1237);
result = prime * result + ((groupName == null) ? 0 : groupName.hashCode());
result = prime * result + retryMaxTimes;
result = prime * result + retryQueueNums;
Expand All @@ -208,6 +209,7 @@ public boolean equals(Object obj) {
.append(consumeEnable, other.consumeEnable)
.append(consumeFromMinEnable, other.consumeFromMinEnable)
.append(consumeBroadcastEnable, other.consumeBroadcastEnable)
.append(consumeMessageOrderly, other.consumeMessageOrderly)
.append(retryQueueNums, other.retryQueueNums)
.append(retryMaxTimes, other.retryMaxTimes)
.append(whichBrokerWhenConsumeSlowly, other.whichBrokerWhenConsumeSlowly)
Expand Down

0 comments on commit 471dbc0

Please sign in to comment.