You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by cm...@apache.org on 2021/07/14 06:21:47 UTC
[kafka] branch 3.0 updated: MINOR: fix Scala 2.12 compile failure
in ControllerApisTest (#11043)
This is an automated email from the ASF dual-hosted git repository.
cmccabe pushed a commit to branch 3.0
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/3.0 by this push:
new 272deeb MINOR: fix Scala 2.12 compile failure in ControllerApisTest (#11043)
272deeb is described below
commit 272deebaccf427d3958c739e1feee7d5f40aa84e
Author: Colin Patrick McCabe <cm...@confluent.io>
AuthorDate: Tue Jul 13 23:18:01 2021 -0700
MINOR: fix Scala 2.12 compile failure in ControllerApisTest (#11043)
Reviewers: Konstantine Karantasis <k....@gmail.com>
---
core/src/test/scala/unit/kafka/server/ControllerApisTest.scala | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/core/src/test/scala/unit/kafka/server/ControllerApisTest.scala b/core/src/test/scala/unit/kafka/server/ControllerApisTest.scala
index 110ae72..58a9479 100644
--- a/core/src/test/scala/unit/kafka/server/ControllerApisTest.scala
+++ b/core/src/test/scala/unit/kafka/server/ControllerApisTest.scala
@@ -160,7 +160,7 @@ class ControllerApisTest {
any(classOf[Long])
)
).thenReturn(
- new CompletableFuture()
+ new CompletableFuture[ApiMessage]()
)
createControllerApis(None, new MockController.Builder().build())
@@ -189,7 +189,7 @@ class ControllerApisTest {
any(classOf[Long])
)
).thenReturn(
- new CompletableFuture()
+ new CompletableFuture[ApiMessage]()
)
createControllerApis(None, new MockController.Builder().build())