This is an automated email from the ASF dual-hosted git repository.
chia7712 pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/trunk by this push:
new a3ed705092d MINOR: Fix build warning in Streams (#20098)
a3ed705092d is described below
commit a3ed705092d1ee217be23e4e920a97fa733fe98b
Author: Mickael Maison <[email protected]>
AuthorDate: Mon Jul 7 20:44:12 2025 +0200
MINOR: Fix build warning in Streams (#20098)
When building Streams I get this warning:
```
> Task :streams:compileTestJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note:
<PATH>/kafka/streams/src/test/java/org/apache/kafka/streams/processor/internals/RecordCollectorTest.java
uses unchecked or unsafe operations.
```
Reviewers: Jhen-Yung Hsu <[email protected]>, Ken Huang
<[email protected]>, Chia-Ping Tsai <[email protected]>
---
.../apache/kafka/streams/processor/internals/RecordCollectorTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/streams/src/test/java/org/apache/kafka/streams/processor/internals/RecordCollectorTest.java
b/streams/src/test/java/org/apache/kafka/streams/processor/internals/RecordCollectorTest.java
index 4fb5f91ba75..ebc92c65184 100644
---
a/streams/src/test/java/org/apache/kafka/streams/processor/internals/RecordCollectorTest.java
+++
b/streams/src/test/java/org/apache/kafka/streams/processor/internals/RecordCollectorTest.java
@@ -1947,7 +1947,7 @@ public class RecordCollectorTest {
);
collector.initialize();
- collector.send(topic, "hello", "val", null, 0, null, (Serializer)
errorSerializer, stringSerializer, sinkNodeName, context);
+ collector.send(topic, "hello", "val", null, 0, null,
errorSerializer, stringSerializer, sinkNodeName, context);
assertNotNull(sourceRawData[0]);
assertNotNull(sourceRawData[1]);