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

@ -122,7 +122,8 @@ class PersistenceTestKitDurableStateStore[A](val system: ExtendedActorSystem)
override def currentChanges(tag: String, offset: Offset): Source[DurableStateChange[A], pekko.NotUsed] =
this.synchronized {
val currentGlobalOffset = lastGlobalOffset.get()
changes(tag, offset).takeWhile(_.offset match {
changes(tag, offset).takeWhile(
_.offset match {
case Sequence(fromOffset) =>
fromOffset < currentGlobalOffset
case offset =>
@ -137,7 +138,8 @@ class PersistenceTestKitDurableStateStore[A](val system: ExtendedActorSystem)
offset: Offset): Source[DurableStateChange[A], NotUsed] =
this.synchronized {
val currentGlobalOffset = lastGlobalOffset.get()
changesBySlices(entityType, minSlice, maxSlice, offset).takeWhile(_.offset match {
changesBySlices(entityType, minSlice, maxSlice, offset).takeWhile(
_.offset match {
case Sequence(fromOffset) =>
fromOffset < currentGlobalOffset
case offset =>