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 <[email protected]>
AuthorDate: Wed Mar 14 22:19:51 2018 +0000

    MINOR: fixing streams test-util compilation errors in Eclipse (#4631)
    
    Author: Edoardo Comar <[email protected]>
    
    Reviewer: Matthias J. Sax <[email protected]>
---
 .../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
[email protected].

Reply via email to