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


##########
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:
   You're right. We have internal patches running in an older (pre-4.x) branch. 
   
   Let me revert this change and make sure the other PRs don't replace newer 
Java APIs for older ones



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