xunliu commented on code in PR #6252: URL: https://github.com/apache/gravitino/pull/6252#discussion_r1916604700
########## authorizations/authorization-common/src/main/java/org/apache/gravitino/authorization/common/PathBasedMetadataObject.java: ########## @@ -122,8 +122,13 @@ public int hashCode() { @Override public String toString() { - return "MetadataObject: [fullName=" + fullName() + "], [path=" + path == null - ? "null" - : path + "], [type=" + type + "]"; + String pathStr = path == null ? "null" : path; Review Comment: I think it better change `pathStr` to `path`? -- 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