diffs when running scalafmtAll (#155)

This commit is contained in:
PJ Fanning 2023-02-09 14:38:45 +01:00 committed by GitHub
parent 5d4437e94c
commit 8338bfed8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -202,7 +202,7 @@ abstract class ScanningEventBus[E, S, C] extends EventBus[E, S, C] {
*/
abstract class ManagedActorEventBus[E](system: ActorSystem) extends EventBus[E, ActorRef, ActorRef] {
private val bus = new pekko.event.ActorEventBus with pekko.event.ManagedActorClassification
with pekko.event.ActorClassifier {
with pekko.event.ActorClassifier {
type Event = E
override val system = ManagedActorEventBus.this.system

View file

@ -61,7 +61,7 @@ class SharedMutableStateDocSpec {
// Very bad: shared mutable state will cause your
// application to break in weird ways
Future { state = "This will race" }
((echoActor ? Message("With this other one")).mapTo[Message]).foreach { received =>
(echoActor ? Message("With this other one")).mapTo[Message].foreach { received =>
state = received.msg
}

View file

@ -110,7 +110,7 @@ class RollingEventLogSimulationSpec extends PekkoSpec {
val instructions: Array[Instruction] =
(Array(AdvanceHeader, TryMarkDirty) :+
WriteId) ++
WriteId) ++
Array.fill(EntrySize - 2)(WriteByte) :+
Commit

View file

@ -288,7 +288,7 @@ class GraphUnzipWithSpec extends StreamSpec("""
RunnableGraph
.fromGraph(GraphDSL.create() { implicit b =>
val split22 = (a: (List[Int])) =>
val split22 = (a: List[Int]) =>
(
a(0),
a(0).toString,