kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jun...@apache.org
Subject kafka git commit: trivial fix for compilation error in scala 2.9.1
Date Fri, 10 Apr 2015 15:09:58 GMT
Repository: kafka
Updated Branches:
  refs/heads/trunk 26673f982 -> fb86cf633


trivial fix for compilation error in scala 2.9.1


Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/fb86cf63
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/fb86cf63
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/fb86cf63

Branch: refs/heads/trunk
Commit: fb86cf633833b1daa6ccf6f27b68836646d2bcba
Parents: 26673f9
Author: Ewen Cheslack-Postava <me@ewencp.org>
Authored: Fri Apr 10 08:09:53 2015 -0700
Committer: Jun Rao <junrao@gmail.com>
Committed: Fri Apr 10 08:09:53 2015 -0700

----------------------------------------------------------------------
 .../scala/unit/kafka/api/RequestResponseSerializationTest.scala    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/fb86cf63/core/src/test/scala/unit/kafka/api/RequestResponseSerializationTest.scala
----------------------------------------------------------------------
diff --git a/core/src/test/scala/unit/kafka/api/RequestResponseSerializationTest.scala b/core/src/test/scala/unit/kafka/api/RequestResponseSerializationTest.scala
index 566b538..dbf9f48 100644
--- a/core/src/test/scala/unit/kafka/api/RequestResponseSerializationTest.scala
+++ b/core/src/test/scala/unit/kafka/api/RequestResponseSerializationTest.scala
@@ -176,7 +176,7 @@ object SerializationTestUtils {
   }
 
   def createTestTopicMetadataResponse: TopicMetadataResponse = {
-    new TopicMetadataResponse(brokers.map(_.getBrokerEndPoint(SecurityProtocol.PLAINTEXT)).toVector,
Seq(topicmetaData1, topicmetaData2), 1)
+    new TopicMetadataResponse(brokers.map(_.getBrokerEndPoint(SecurityProtocol.PLAINTEXT)).toSeq,
Seq(topicmetaData1, topicmetaData2), 1)
   }
 
   def createTestOffsetCommitRequestV2: OffsetCommitRequest = {


Mime
View raw message