kafka/core
Sanskar Jhajharia 992eaafb62
CI / build (push) Waiting to run Details
MINOR: Cleanup Core Module- Scala Modules (3/n) (#19804)
Now that Kafka Brokers support Java 17, this PR makes some changes in
core module. The changes in this PR are limited to only some Scala files
in the Core module's tests. The changes mostly include:
- Collections.emptyList(), Collections.singletonList() and
Arrays.asList() are replaced with List.of()
- Collections.emptyMap() and Collections.singletonMap() are replaced
with Map.of()
- Collections.singleton() is replaced with Set.of()

To be clear, the directories being targeted in this PR from unit.kafka
module:
- admin
- cluster
- coordinator
- docker
- integration
- metrics

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
2025-06-22 00:20:39 +08:00
..
src MINOR: Cleanup Core Module- Scala Modules (3/n) (#19804) 2025-06-22 00:20:39 +08:00
.gitignore