clarkwtc commented on code in PR #19071:
URL: https://github.com/apache/kafka/pull/19071#discussion_r1986517609
##########
streams/src/test/java/org/apache/kafka/streams/kstream/internals/KTableImplTest.java:
##########
@@ -587,19 +577,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();
assertThrows(NullPointerException.class, () ->
table.transformValues(valueTransformerSupplier, (Materialized<String, Object,
KeyValueStore<Bytes, byte[]>>) null));
Review Comment:
I fixed it.
--
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]