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:20:54 UTC

[kafka] branch 1.1 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 1.1
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/1.1 by this push:
     new 766425b  MINOR: fixing streams test-util compilation errors in Eclipse (#4631)
766425b is described below

commit 766425b5bc9317450bb5b5638a249794802bff51
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.