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


##########
coordinator/src/test/java/org/apache/uniffle/coordinator/ApplicationManagerTest.java:
##########
@@ -98,6 +98,24 @@ public void refreshTest() {
     assertFalse(applicationManager.hasErrorInStatusCheck());
   }
 
+  @Test
+  public void pickRemoteStorageTest() {
+    String remoteStoragePath = remotePath1 + Constants.COMMA_SPLIT_CHAR + 
remotePath2;

Review Comment:
   > I think the problem of this code is quite obvious. Once there is a null 
value, an exception will be thrown. I think it can be avoided in advance, and 
the code will become streamlined after modification.
   
   If we can guarantee the value don't have `null`, why do we need to filter 
them?



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to