Update scalafmt-core to 2.1.0 (#27831)
* Update scalafmt-core to 2.1.0 * scalafmt
This commit is contained in:
parent
b10a83ad9b
commit
6b17a7a15f
11 changed files with 33 additions and 22 deletions
|
|
@ -1,4 +1,4 @@
|
|||
version = 2.0.1
|
||||
version = 2.1.0
|
||||
|
||||
style = defaultWithAlign
|
||||
|
||||
|
|
|
|||
|
|
@ -157,7 +157,6 @@ class TwitterStreamQuickstartDocSpec extends AkkaSpec {
|
|||
.mapConcat(identity) // Flatten the set of hashtags to a stream of hashtags
|
||||
.map(_.name.toUpperCase) // Convert all hashtags to upper case
|
||||
.runWith(Sink.foreach(println)) // Attach the Flow to a Sink that will finally print the hashtags
|
||||
|
||||
//#fiddle_code
|
||||
.value
|
||||
}
|
||||
|
|
|
|||
|
|
@ -62,7 +62,10 @@ private[remote] class Encoder(
|
|||
|
||||
override def createLogicAndMaterializedValue(
|
||||
inheritedAttributes: Attributes): (GraphStageLogic, OutboundCompressionAccess) = {
|
||||
val logic = new GraphStageLogic(shape) with InHandler with OutHandler with StageLogging
|
||||
val logic = new GraphStageLogic(shape)
|
||||
with InHandler
|
||||
with OutHandler
|
||||
with StageLogging
|
||||
with OutboundCompressionAccess {
|
||||
|
||||
private val headerBuilder = HeaderBuilder.out()
|
||||
|
|
@ -347,7 +350,10 @@ private[remote] class Decoder(
|
|||
val shape: FlowShape[EnvelopeBuffer, InboundEnvelope] = FlowShape(in, out)
|
||||
|
||||
def createLogicAndMaterializedValue(inheritedAttributes: Attributes): (GraphStageLogic, InboundCompressionAccess) = {
|
||||
val logic = new TimerGraphStageLogic(shape) with InboundCompressionAccessImpl with InHandler with OutHandler
|
||||
val logic = new TimerGraphStageLogic(shape)
|
||||
with InboundCompressionAccessImpl
|
||||
with InHandler
|
||||
with OutHandler
|
||||
with StageLogging {
|
||||
import Decoder.RetryResolveRemoteDeployedRecipient
|
||||
|
||||
|
|
|
|||
|
|
@ -172,7 +172,10 @@ private[remote] class OutboundControlJunction(
|
|||
|
||||
override def createLogicAndMaterializedValue(inheritedAttributes: Attributes) = {
|
||||
|
||||
val logic = new GraphStageLogic(shape) with InHandler with OutHandler with StageLogging
|
||||
val logic = new GraphStageLogic(shape)
|
||||
with InHandler
|
||||
with OutHandler
|
||||
with StageLogging
|
||||
with OutboundControlIngress {
|
||||
|
||||
val sendControlMessageCallback = getAsyncCallback[ControlMessage](internalSendControlMessage)
|
||||
|
|
|
|||
|
|
@ -292,7 +292,8 @@ final class SharedKillSwitch private[stream] (val name: String) extends KillSwit
|
|||
override def createLogicAndMaterializedValue(
|
||||
inheritedAttributes: Attributes): (GraphStageLogic, SharedKillSwitch) = {
|
||||
val shutdownListener = terminationSignal.createListener()
|
||||
val logic = new KillSwitches.KillableGraphStageLogic(shutdownListener.future, shape) with InHandler
|
||||
val logic = new KillSwitches.KillableGraphStageLogic(shutdownListener.future, shape)
|
||||
with InHandler
|
||||
with OutHandler {
|
||||
setHandler(shape.in, this)
|
||||
setHandler(shape.out, this)
|
||||
|
|
|
|||
|
|
@ -37,7 +37,8 @@ private object ActorRefBackpressureSource {
|
|||
private[akka] override def createLogicAndMaterializedValue(
|
||||
inheritedAttributes: Attributes,
|
||||
eagerMaterializer: Materializer): (GraphStageLogic, ActorRef) = {
|
||||
val stage: GraphStageLogic with StageLogging with ActorRefStage = new GraphStageLogic(shape) with StageLogging
|
||||
val stage: GraphStageLogic with StageLogging with ActorRefStage = new GraphStageLogic(shape)
|
||||
with StageLogging
|
||||
with ActorRefStage {
|
||||
override protected def logSource: Class[_] = classOf[ActorRefSource[_]]
|
||||
|
||||
|
|
|
|||
|
|
@ -36,7 +36,8 @@ private object ActorRefSource {
|
|||
private[akka] override def createLogicAndMaterializedValue(
|
||||
inheritedAttributes: Attributes,
|
||||
eagerMaterializer: Materializer): (GraphStageLogic, ActorRef) = {
|
||||
val stage: GraphStageLogic with StageLogging with ActorRefStage = new GraphStageLogic(shape) with StageLogging
|
||||
val stage: GraphStageLogic with StageLogging with ActorRefStage = new GraphStageLogic(shape)
|
||||
with StageLogging
|
||||
with ActorRefStage {
|
||||
override protected def logSource: Class[_] = classOf[ActorRefSource[_]]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue