Skip to content

Commit

Permalink
style and scala3
Browse files Browse the repository at this point in the history
  • Loading branch information
leviramsey committed Jun 27, 2023
1 parent b3d8f6f commit 7e08544
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/scala/akka/kafka/javadsl/Consumer.scala
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ object Consumer {
control.drainAndShutdown(streamCompletion, ec)

override val isShutdown: CompletionStage[Done] =
control.isShutdown.thenCompose[Done] { _: Any => // Scala 2.12 needs the types here
streamCompletion.thenApply[Done] { _: Any => // Scala 2.12 needs the types here
control.isShutdown.thenCompose[Done] { (_: Any) => // Scala 2.12 needs the types here
streamCompletion.thenApply[Done] { (_: Any) => // Scala 2.12 needs the types here
Done.done()
}
}
Expand Down

0 comments on commit 7e08544

Please sign in to comment.