chia7712 commented on code in PR #20091:
URL: https://github.com/apache/kafka/pull/20091#discussion_r2213971423


##########
tools/src/main/java/org/apache/kafka/tools/ConnectPluginPath.java:
##########
@@ -326,11 +322,11 @@ private static Set<Row> 
enumerateRows(ManifestWorkspace.SourceWorkspace<?> works
             rowAliases.add(PluginUtils.prunedName(pluginDesc));
             rows.add(newRow(workspace, pluginDesc.className(), new 
ArrayList<>(rowAliases), pluginDesc.type(), pluginDesc.version(), true));
             // If a corresponding manifest exists, mark it as loadable by 
removing it from the map.
-            nonLoadableManifests.getOrDefault(pluginDesc.className(), 
Collections.emptySet()).remove(pluginDesc.type());
+            nonLoadableManifests.getOrDefault(pluginDesc.className(), new 
HashSet<>()).remove(pluginDesc.type());

Review Comment:
   this is a bug fix, right? If so, could you please fix a jira to fix it?



-- 
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: jira-unsubscr...@kafka.apache.org

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

Reply via email to