scalafix FinalObject - for scalafix ignored files

This commit is contained in:
Bùi Việt Thành 2020-04-06 15:16:52 +07:00
parent 4df76d6bce
commit 2c6e349c7e
5 changed files with 5 additions and 5 deletions

View file

@ -34,7 +34,7 @@ object ReplicatorDocSpec {
// #sample
object Counter {
sealed trait Command
final case object Increment extends Command
case object Increment extends Command
final case class GetValue(replyTo: ActorRef[Int]) extends Command
final case class GetCachedValue(replyTo: ActorRef[Int]) extends Command
case object Unsubscribe extends Command

View file

@ -18,7 +18,7 @@ object PingPongExample {
val PingServiceKey = ServiceKey[Ping]("pingService")
final case class Ping(replyTo: ActorRef[Pong.type])
final case object Pong
case object Pong
def apply(): Behavior[Ping] = {
Behaviors.setup { context =>