mchades commented on code in PR #7830:
URL: https://github.com/apache/gravitino/pull/7830#discussion_r2241403236
##########
server/src/main/java/org/apache/gravitino/server/web/rest/MetadataObjectTagOperations.java:
##########
@@ -163,7 +163,7 @@ public Response listTagsForMetadataObject(
MetadataObjects.parse(
fullName,
MetadataObject.Type.valueOf(type.toUpperCase(Locale.ROOT)));
- List<TagDTO> tags = Lists.newArrayList();
+ Set<TagDTO> tags = Sets.newHashSet();
Review Comment:
the 200 line code comment also needs to be removed since the `tags` is a set
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]