kafka/connect/file/src
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
..
main MINOR: Cleanup Connect Module (1/n) (#19869) 2025-07-11 00:35:41 +08:00
test MINOR: Cleanup Connect Module (1/n) (#19869) 2025-07-11 00:35:41 +08:00