SteveYurongSu commented on code in PR #12228:
URL: https://github.com/apache/iotdb/pull/12228#discussion_r1542383283


##########
iotdb-client/service-rpc/src/main/java/org/apache/iotdb/rpc/subscription/payload/EnrichedTablets.java:
##########
@@ -89,7 +91,7 @@ public boolean equals(Object obj) {
     }
     EnrichedTablets that = (EnrichedTablets) obj;
     return Objects.equals(this.topicName, that.topicName)
-        && Objects.equals(this.tablets, that.tablets)
+        // Consistent with the hashCode method, tablets members are not 
compared.

Review Comment:
   ```suggestion
           && Objects.equals(this.tablets, that.tablets)
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscr...@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to