mimaison commented on code in PR #22235:
URL: https://github.com/apache/kafka/pull/22235#discussion_r3258079574


##########
connect/transforms/src/test/java/org/apache/kafka/connect/transforms/ValueToKeyTest.java:
##########
@@ -48,21 +50,21 @@ public static Stream<Arguments> data() {
     }
 
     @AfterEach
-    public void teardown() {
+    void teardown() {
         xform.close();
     }
 
     @Test
-    public void schemaless() {
-        xform.configure(Map.of("fields", "a,b"));
+    void schemaless() {
+        xform.configure(Collections.singletonMap("fields", "a,b"));

Review Comment:
   Why are we replacing the usages of `Map.of()`?



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