yuz10 commented on code in PR #8234:
URL: https://github.com/apache/rocketmq/pull/8234#discussion_r1637384737


##########
common/src/main/java/org/apache/rocketmq/common/UtilAll.java:
##########
@@ -683,7 +683,7 @@ public static List<String> split(String str, String 
splitter) {
         }
 
         if (StringUtils.isBlank(str)) {
-            return Collections.EMPTY_LIST;
+            return new ArrayList<>();

Review Comment:
    `if (str == null) ` condition can be removed



-- 
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]

Reply via email to