Reformat with scalafmt 3.8.2

Executed command: scalafmt --non-interactive
This commit is contained in:
scala-steward-asf[bot] 2024-06-16 00:05:16 +00:00 committed by PJ Fanning
parent ec2f01ea8c
commit fa1351b213
22 changed files with 47 additions and 43 deletions

View file

@ -50,7 +50,8 @@ import pekko.util.ByteString
val halfClose: Boolean,
val idleTimeout: Duration,
val bindShutdownTimeout: FiniteDuration)
extends GraphStageWithMaterializedValue[SourceShape[StreamTcp.IncomingConnection], Future[
extends GraphStageWithMaterializedValue[SourceShape[StreamTcp.IncomingConnection],
Future[
StreamTcp.ServerBinding]] {
import ConnectionSourceStage._

View file

@ -546,7 +546,8 @@ object Source {
*/
@deprecated("Use variant accepting completion and failure matchers", "Akka 2.6.0")
def actorRef[T](bufferSize: Int, overflowStrategy: OverflowStrategy): Source[T, ActorRef] =
new Source(scaladsl.Source.actorRef({
new Source(scaladsl.Source.actorRef(
{
case pekko.actor.Status.Success(s: CompletionStrategy) => s
case pekko.actor.Status.Success(_) => CompletionStrategy.Draining
case pekko.actor.Status.Success => CompletionStrategy.Draining

View file

@ -710,7 +710,8 @@ object Source {
*/
@deprecated("Use variant accepting completion and failure matchers instead", "Akka 2.6.0")
def actorRef[T](bufferSize: Int, overflowStrategy: OverflowStrategy): Source[T, ActorRef] =
actorRef({
actorRef(
{
case pekko.actor.Status.Success(s: CompletionStrategy) => s
case pekko.actor.Status.Success(_) => CompletionStrategy.Draining
case pekko.actor.Status.Success => CompletionStrategy.Draining