You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by mj...@apache.org on 2018/03/14 22:19:55 UTC
[kafka] branch trunk updated: MINOR: fixing streams test-util
compilation errors in Eclipse (#4631)
This is an automated email from the ASF dual-hosted git repository.
mjsax 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 35c0818 MINOR: fixing streams test-util compilation errors in Eclipse (#4631)
35c0818 is described below
commit 35c08189cb862090676898e7568cd6d30091424b
Author: Edoardo Comar <ec...@uk.ibm.com>
AuthorDate: Wed Mar 14 22:19:51 2018 +0000
MINOR: fixing streams test-util compilation errors in Eclipse (#4631)
Author: Edoardo Comar <ec...@uk.ibm.com>
Reviewer: Matthias J. Sax <ma...@confluent.io>
---
.../org/apache/kafka/streams/test/ConsumerRecordFactoryTest.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/streams/test-utils/src/test/java/org/apache/kafka/streams/test/ConsumerRecordFactoryTest.java b/streams/test-utils/src/test/java/org/apache/kafka/streams/test/ConsumerRecordFactoryTest.java
index f75a069..469d241 100644
--- a/streams/test-utils/src/test/java/org/apache/kafka/streams/test/ConsumerRecordFactoryTest.java
+++ b/streams/test-utils/src/test/java/org/apache/kafka/streams/test/ConsumerRecordFactoryTest.java
@@ -178,7 +178,7 @@ public class ConsumerRecordFactoryTest {
}
final List<ConsumerRecord<byte[], byte[]>> records =
- factory.create(Arrays.<KeyValue<String, Long>>asList(keyValuePairs));
+ factory.create(Arrays.<KeyValue<String, Integer>>asList(keyValuePairs));
for (int i = 0; i < keyValuePairs.length; ++i) {
verifyRecord(
@@ -207,7 +207,7 @@ public class ConsumerRecordFactoryTest {
}
final List<ConsumerRecord<byte[], byte[]>> records =
- factory.create(Arrays.<KeyValue<String, Long>>asList(keyValuePairs));
+ factory.create(Arrays.<KeyValue<String, Integer>>asList(keyValuePairs));
for (int i = 0; i < keyValuePairs.length; ++i) {
verifyRecord(
@@ -236,7 +236,7 @@ public class ConsumerRecordFactoryTest {
}
final List<ConsumerRecord<byte[], byte[]>> records =
- factory.create(Arrays.<KeyValue<String, Long>>asList(keyValuePairs), timestamp, 2L);
+ factory.create(Arrays.<KeyValue<String, Integer>>asList(keyValuePairs), timestamp, 2L);
for (int i = 0; i < keyValuePairs.length; ++i) {
verifyRecord(
--
To stop receiving notification emails like this one, please contact
mjsax@apache.org.