UladzislauBlok commented on code in PR #21536:
URL: https://github.com/apache/kafka/pull/21536#discussion_r2897911371
##########
streams/src/test/java/org/apache/kafka/streams/kstream/SessionWindowedDeserializerTest.java:
##########
@@ -118,14 +118,13 @@ public void
shouldThrowConfigExceptionWhenInvalidWindowedInnerDeserializerClassS
}
@Test
- public void shouldPassHeadersToUnderlyingSerializer() {
+ public void shouldPassHeadersToUnderlyingDeserializer() {
final Deserializer<String> mockDeserializer =
mock(StringDeserializer.class);
when(mockDeserializer.deserialize(anyString(), any(Headers.class),
any(byte[].class))).thenReturn("test-value");
- final String key = "test-key";
- final Windowed<String> windowed = new Windowed<>(key, new
TimeWindow(0, 1));
Review Comment:
yeah... :)
well, it doesn't make any harm, but looks weird
--
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]