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, It still have the warning
message

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