sjhajharia commented on code in PR #20156:
URL: https://github.com/apache/kafka/pull/20156#discussion_r2268611771


##########
connect/runtime/src/test/java/org/apache/kafka/connect/runtime/distributed/DistributedConfigTest.java:
##########
@@ -215,7 +213,7 @@ public void shouldFailWithInvalidKeySize() throws 
NoSuchAlgorithmException {
     @Test
     public void shouldValidateAllVerificationAlgorithms() {
         List<String> algorithms =
-            new ArrayList<>(Arrays.asList("HmacSHA1", "HmacSHA256", "HmacMD5", 
"bad-algorithm"));
+            new ArrayList<>(List.of("HmacSHA1", "HmacSHA256", "HmacMD5", 
"bad-algorithm"));

Review Comment:
   I have updated the same with a different approach. Pls review if that makes 
sense. 



-- 
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