Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MINOR] Clean up coordinator-common and server modules #19009

Open
wants to merge 2 commits into
base: trunk
Choose a base branch
from

Conversation

sjhajharia
Copy link
Contributor

Given that now we support Java 17 on our brokers, this PR replace the use of :

Collections.singletonList() and Collections.emptyList() with List.of()
Collections.singletonMap() and Collections.emptyMap() with Map.of()
Collections.singleton() and Collections.emptySet() with Set.of()

Affected modules: server and coordinator-common

@github-actions github-actions bot added triage PRs from the community core Kafka Broker labels Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-approved core Kafka Broker triage PRs from the community
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants