sjhajharia opened a new pull request, #22660:
URL: https://github.com/apache/kafka/pull/22660

   ## Summary
   
   Minor, behavior-preserving cleanups across the `coordinator-common` runtime 
package. No functional changes.
   The changes fall into three categories:
   
   1. **Replace `Arrays.asList(...)` with `List.of(...)`** in production and 
test code where the list is only read. This is more idiomatic, returns a truly 
immutable list, and lets us drop the `java.util.Arrays` import in favor of 
`java.util.List`.
   
   2. **Simplify single-statement lambdas** in `CoordinatorRuntime` by removing 
the unnecessary block braces (`{ ... }`) where the lambda body is a single 
expression.
   
   3. **Fix a stray quote** in a comment in `CoordinatorLoaderImpl`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to