Skip to content

Commit

Permalink
Fix fatal warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
seglo committed Oct 23, 2019
1 parent 3868b23 commit 06be1b3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ lazy val docs = project
"scaladoc.akka.kafka.base_url" -> s"/${(Preprocess / siteSubdirName).value}/",
"scaladoc.com.typesafe.config.base_url" -> s"https://lightbend.github.io/config/latest/api/",
"javadoc.org.apache.kafka.base_url" -> s"https://kafka.apache.org/$kafkaVersionForDocs/javadoc/",
"javadoc.org.testcontainers.base_url" -> s"https://javadoc.jitpack.io/com/github/testcontainers/testcontainers-java/testcontainers/$testcontainersVersion/javadoc/",
"javadoc.org.testcontainers.base_url" -> s"https://javadoc.jitpack.io/com/github/testcontainers/testcontainers-java/testcontainers/$testcontainersVersion/javadoc/"
),
paradoxRoots := List("index.html",
"release-notes/1.0-M1.html",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

package akka.kafka.testkit

import java.util.function.Consumer

import akka.actor.ActorSystem
import com.typesafe.config.Config
import org.testcontainers.containers.{GenericContainer, KafkaContainer}
Expand All @@ -14,7 +16,10 @@ final class KafkaTestkitTestcontainersSettings private (
val numBrokers: Int,
val internalTopicsReplicationFactor: Int,
val configureKafka: Vector[KafkaContainer] => Unit = _ => (),
val configureKafkaJava: java.util.function.Consumer[java.util.Collection[KafkaContainer]] = _ => (),
val configureKafkaJava: java.util.function.Consumer[java.util.Collection[KafkaContainer]] =
new Consumer[java.util.Collection[KafkaContainer]]() {
override def accept(arg: java.util.Collection[KafkaContainer]): Unit = ()
},
val configureZooKeeper: GenericContainer[_] => Unit = _ => ()
) {

Expand Down
1 change: 0 additions & 1 deletion tests/src/test/scala/akka/kafka/scaladsl/SpecBase.scala
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ package akka.kafka.scaladsl
import akka.kafka.testkit.scaladsl.ScalatestKafkaSpec
import org.scalatest.concurrent.{Eventually, ScalaFutures}
import org.scalatest.{Matchers, WordSpecLike}
import org.testcontainers.containers.GenericContainer

abstract class SpecBase(kafkaPort: Int)
extends ScalatestKafkaSpec(kafkaPort)
Expand Down

0 comments on commit 06be1b3

Please sign in to comment.