You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2025/04/26 15:40:00 UTC
[jira] [Resolved] (KAFKA-19178) Replace Vector by ArrayList for PluginClassLoader#getResources
[ https://issues.apache.org/jira/browse/KAFKA-19178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chia-Ping Tsai resolved KAFKA-19178.
------------------------------------
Fix Version/s: 4.1.0
Resolution: Fixed
> Replace Vector by ArrayList for PluginClassLoader#getResources
> --------------------------------------------------------------
>
> Key: KAFKA-19178
> URL: https://issues.apache.org/jira/browse/KAFKA-19178
> Project: Kafka
> Issue Type: Improvement
> Reporter: Chia-Ping Tsai
> Assignee: Nick Guo
> Priority: Minor
> Fix For: 4.1.0
>
>
> the vector is a synchronized collection, and in the case we don't need to sync. Also, we can use `Collections.enumeration` to convert collection to enumeration easily.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)