You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "Hisoka-X (via GitHub)" <gi...@apache.org> on 2023/08/26 10:25:27 UTC

[GitHub] [seatunnel] Hisoka-X commented on a diff in pull request #5265: [Feature] [seatunnel-engine-core] Support loading remote third-party jars

Hisoka-X commented on code in PR #5265:
URL: https://github.com/apache/seatunnel/pull/5265#discussion_r1306393865


##########
seatunnel-common/src/main/java/org/apache/seatunnel/common/config/Common.java:
##########
@@ -162,6 +166,21 @@ public static Set<Path> getThirdPartyJars(String paths) {
                 .collect(Collectors.toSet());
     }
 
+    public static Set<URL> getThirdPartyJarsURL(String paths) {
+        return Arrays.stream(paths.split(";"))
+                .filter(s -> !"".equals(s))

Review Comment:
   maybe use `StringUtils.isNotBlank` will be better.



-- 
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@seatunnel.apache.org

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