majialoong commented on code in PR #20638:
URL: https://github.com/apache/kafka/pull/20638#discussion_r2499908551


##########
connect/runtime/src/main/java/org/apache/kafka/connect/runtime/isolation/PluginUtils.java:
##########
@@ -209,9 +209,6 @@ public static Set<Path> pluginLocations(String pluginPath, 
boolean failFast) {
         for (String path : pluginPathElements) {
             try {
                 Path pluginPathElement = Paths.get(path).toAbsolutePath();
-                if (pluginPath.isEmpty()) {

Review Comment:
   Because the current `plugin.path` parameter does not allow empty 
elements—for example, in this PR, the `plugin.path` condition checks whether an 
element is empty—this condition can be removed. This is also the suggestion 
mentioned here: 
https://github.com/apache/kafka/pull/20612#discussion_r2394966925.



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