jerqi commented on code in PR #6770: URL: https://github.com/apache/gravitino/pull/6770#discussion_r2020621717
########## api/src/main/java/org/apache/gravitino/authorization/MetadataObjectChange.java: ########## @@ -100,7 +117,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) return false; RenameMetadataObject that = (RenameMetadataObject) o; return metadataObject.equals(that.metadataObject) - && newMetadataObject.equals(that.newMetadataObject); + && newMetadataObject.equals(that.newMetadataObject) + && locations.equals(that.locations); Review Comment: Fixed. I added a sort when initializing. -- 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: commits-unsubscr...@gravitino.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org