Skip to content

Minor: remove an unused method and adjust method visibility in Utils.java#21398

Open
jiafu1115 wants to merge 2 commits intoapache:trunkfrom
jiafu1115:patch-7
Open

Minor: remove an unused method and adjust method visibility in Utils.java#21398
jiafu1115 wants to merge 2 commits intoapache:trunkfrom
jiafu1115:patch-7

Conversation

@jiafu1115
Copy link
Contributor

@jiafu1115 jiafu1115 commented Feb 4, 2026

As titled above.

Removed the safe method that returns an empty list for null input.
@github-actions github-actions bot added triage PRs from the community clients small Small PRs labels Feb 4, 2026
* Get the ClassLoader which loaded Kafka.
*/
public static ClassLoader getKafkaClassLoader() {
private static ClassLoader getKafkaClassLoader() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we just merge it into getContextOrKafkaClassLoader?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chia7712 done

Removed the private method getKafkaClassLoader and replaced its usage.
@jiafu1115
Copy link
Contributor Author

jiafu1115 commented Feb 4, 2026

Already exposed the method to user with :
image

@github-actions github-actions bot removed the triage PRs from the community label Feb 5, 2026
@jiafu1115 jiafu1115 requested a review from chia7712 February 5, 2026 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants