=all #3448 Newer Scalariform running on more files
This commit is contained in:
parent
b9f91b176b
commit
28b5f1039d
22 changed files with 63 additions and 48 deletions
|
|
@ -20,7 +20,7 @@ object SnapshotExample extends App {
|
|||
case Persistent(s, snr) ⇒ state = state.update(s"${s}-${snr}")
|
||||
case SaveSnapshotSuccess(metadata) ⇒ // ...
|
||||
case SaveSnapshotFailure(metadata, reason) ⇒ // ...
|
||||
case SnapshotOffer(_, s: ExampleState) ⇒ println("offered state = " + s); state = s
|
||||
case SnapshotOffer(_, s: ExampleState) ⇒ { println("offered state = " + s); state = s }
|
||||
case "print" ⇒ println("current state = " + state)
|
||||
case "snap" ⇒ saveSnapshot(state)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue