=all #3858 Make case classes final
This commit is contained in:
parent
dfef14a590
commit
2cbad298d6
189 changed files with 766 additions and 767 deletions
|
|
@ -14,7 +14,7 @@ object EventBusDocSpec {
|
|||
import akka.event.EventBus
|
||||
import akka.event.LookupClassification
|
||||
|
||||
case class MsgEnvelope(topic: String, payload: Any)
|
||||
final case class MsgEnvelope(topic: String, payload: Any)
|
||||
|
||||
/**
|
||||
* Publishes the payload of the MsgEnvelope when the topic of the
|
||||
|
|
@ -124,7 +124,7 @@ object EventBusDocSpec {
|
|||
import akka.event.ActorClassification
|
||||
import akka.event.ActorClassifier
|
||||
|
||||
case class Notification(ref: ActorRef, id: Int)
|
||||
final case class Notification(ref: ActorRef, id: Int)
|
||||
|
||||
class ActorBusImpl extends ActorEventBus with ActorClassifier with ActorClassification {
|
||||
type Event = Notification
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ object LoggingDocSpec {
|
|||
//#mdc-actor
|
||||
import Logging.MDC
|
||||
|
||||
case class Req(work: String, visitorId: Int)
|
||||
final case class Req(work: String, visitorId: Int)
|
||||
|
||||
class MdcActorMixin extends Actor with akka.actor.DiagnosticActorLogging {
|
||||
var reqId = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue