You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uniffle.apache.org by GitBox <gi...@apache.org> on 2022/07/05 12:42:39 UTC

[GitHub] [incubator-uniffle] jerqi commented on a diff in pull request #30: Allow to specify custom tags to decide data placement

jerqi commented on code in PR #30:
URL: https://github.com/apache/incubator-uniffle/pull/30#discussion_r913752459


##########
server/src/main/java/org/apache/uniffle/server/ShuffleServer.java:
##########
@@ -262,7 +274,7 @@ public StorageManager getStorageManager() {
   }
 
   public Set<String> getTags() {
-    return tags;
+    return Collections.unmodifiableSet(tags);

Review Comment:
   Why do we need `Collections.unmodifiableSet`?



-- 
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: dev-unsubscribe@uniffle.apache.org

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