kafka/connect
Sanskar Jhajharia 27383970b6
CI / build (push) Waiting to run Details
MINOR: Cleanup Connect Module (1/n) (#19869)
Now that Kafka support Java 17, this PR makes some changes in connect
module. The changes in this PR are limited to only some files. A future
PR(s) shall follow.
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()

Sub modules targeted: api, basic-auth-extensions, file, json, mirror,
mirror-client

Reviewers: Ken Huang <s7133700@gmail.com>, TengYao Chi
<kitingiao@gmail.com>, Chia-Ping Tsai <chia7712@gmail.com>
2025-07-11 00:35:41 +08:00
..
api MINOR: Cleanup Connect Module (1/n) (#19869) 2025-07-11 00:35:41 +08:00
basic-auth-extension MINOR: Cleanup Connect Module (1/n) (#19869) 2025-07-11 00:35:41 +08:00
file/src MINOR: Cleanup Connect Module (1/n) (#19869) 2025-07-11 00:35:41 +08:00
json MINOR: Cleanup Connect Module (1/n) (#19869) 2025-07-11 00:35:41 +08:00
mirror/src MINOR: Cleanup Connect Module (1/n) (#19869) 2025-07-11 00:35:41 +08:00
mirror-client/src MINOR: Cleanup Connect Module (1/n) (#19869) 2025-07-11 00:35:41 +08:00
runtime/src MINOR: Use <code> block instead of backtick (#20107) 2025-07-06 14:49:51 +08:00
test-plugins/src/main MINOR: Add javadoc for Connect public packages/classes (#16404) 2024-06-21 10:23:35 +02:00
transforms/src MINOR: Use <code> block instead of backtick (#20107) 2025-07-06 14:49:51 +08:00