m1a2st commented on code in PR #19071:
URL: https://github.com/apache/kafka/pull/19071#discussion_r1976553529


##########
streams/src/test/java/org/apache/kafka/streams/kstream/internals/KTableImplTest.java:
##########
@@ -587,19 +587,16 @@ public void 
shouldThrowNullPointerOnTransformValuesWithKeyWhenTransformerSupplie
         assertThrows(NullPointerException.class, () -> 
table.transformValues(null));
     }
 
-    @SuppressWarnings("unchecked")
     @Test
     public void 
shouldThrowNullPointerOnTransformValuesWithKeyWhenMaterializedIsNull() {
-        final ValueTransformerWithKeySupplier<String, String, ?> 
valueTransformerSupplier =
-            mock(ValueTransformerWithKeySupplier.class);
+        final ValueTransformerWithKeySupplier<String, String, ?> 
valueTransformerSupplier = mock();

Review Comment:
   I use `./gradlew clean build -x test` command on this branch, It still have 
the warning message
   
![image](https://github.com/user-attachments/assets/1b3802a3-69c7-4bdb-9179-1c2acf7f678b)
   



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