mirror of https://github.com/apache/kafka.git
CI / build (push) Waiting to run
Details
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> |
||
---|---|---|
.. | ||
src | ||
.gitignore |