=all #3858 Make case classes final
This commit is contained in:
parent
dfef14a590
commit
2cbad298d6
189 changed files with 766 additions and 767 deletions
|
|
@ -4,7 +4,7 @@ import akka.actor._
|
|||
import akka.persistence._
|
||||
|
||||
object SnapshotExample extends App {
|
||||
case class ExampleState(received: List[String] = Nil) {
|
||||
final case class ExampleState(received: List[String] = Nil) {
|
||||
def update(s: String) = copy(s :: received)
|
||||
override def toString = received.reverse.toString
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue