You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "xunliu (via GitHub)" <gi...@apache.org> on 2025/01/15 12:54:21 UTC
Re: [PR] [#6235] fix(authz): fix PathBasedMetadataObject toString method [gravitino]
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-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org