AndrewJSchofield commented on code in PR #18975:
URL: https://github.com/apache/kafka/pull/18975#discussion_r1963105162
##########
streams/src/test/java/org/apache/kafka/streams/processor/internals/SinkNodeTest.java:
##########
@@ -48,8 +48,8 @@ public class SinkNodeTest {
new StaticTopicNameExtractor<>("any-output-topic"), anySerializer,
anySerializer, null);
// Used to verify that the correct exceptions are thrown if the compiler
checks are bypassed
- @SuppressWarnings({"unchecked", "rawtypes"})
- private final SinkNode<Object, Object> illTypedSink = (SinkNode) sink;
+ @SuppressWarnings("unchecked")
+ private final SinkNode<Object, Object> illTypedSink = (SinkNode<Object,
Object>) ((SinkNode<?, ?>) sink);
Review Comment:
!
--
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]