diffs when running scalafmtAll (#155)
This commit is contained in:
parent
5d4437e94c
commit
8338bfed8b
4 changed files with 4 additions and 4 deletions
|
|
@ -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] {
|
abstract class ManagedActorEventBus[E](system: ActorSystem) extends EventBus[E, ActorRef, ActorRef] {
|
||||||
private val bus = new pekko.event.ActorEventBus with pekko.event.ManagedActorClassification
|
private val bus = new pekko.event.ActorEventBus with pekko.event.ManagedActorClassification
|
||||||
with pekko.event.ActorClassifier {
|
with pekko.event.ActorClassifier {
|
||||||
type Event = E
|
type Event = E
|
||||||
|
|
||||||
override val system = ManagedActorEventBus.this.system
|
override val system = ManagedActorEventBus.this.system
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,7 @@ class SharedMutableStateDocSpec {
|
||||||
// Very bad: shared mutable state will cause your
|
// Very bad: shared mutable state will cause your
|
||||||
// application to break in weird ways
|
// application to break in weird ways
|
||||||
Future { state = "This will race" }
|
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
|
state = received.msg
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -110,7 +110,7 @@ class RollingEventLogSimulationSpec extends PekkoSpec {
|
||||||
|
|
||||||
val instructions: Array[Instruction] =
|
val instructions: Array[Instruction] =
|
||||||
(Array(AdvanceHeader, TryMarkDirty) :+
|
(Array(AdvanceHeader, TryMarkDirty) :+
|
||||||
WriteId) ++
|
WriteId) ++
|
||||||
Array.fill(EntrySize - 2)(WriteByte) :+
|
Array.fill(EntrySize - 2)(WriteByte) :+
|
||||||
Commit
|
Commit
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -288,7 +288,7 @@ class GraphUnzipWithSpec extends StreamSpec("""
|
||||||
|
|
||||||
RunnableGraph
|
RunnableGraph
|
||||||
.fromGraph(GraphDSL.create() { implicit b =>
|
.fromGraph(GraphDSL.create() { implicit b =>
|
||||||
val split22 = (a: (List[Int])) =>
|
val split22 = (a: List[Int]) =>
|
||||||
(
|
(
|
||||||
a(0),
|
a(0),
|
||||||
a(0).toString,
|
a(0).toString,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue