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

   Now that Kafka support Java 17, this PR makes some changes in `trogdor`
   module. 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()
   
   Some minor cleanups around use of enhanced switch blocks and conversion of 
classes to record classes.


-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to