Adding return types in Dispatcher
This commit is contained in:
parent
4a2227fc95
commit
e357b9825b
1 changed files with 3 additions and 3 deletions
|
|
@ -46,7 +46,7 @@ class Dispatcher(
|
||||||
/**
|
/**
|
||||||
* INTERNAL USE ONLY
|
* INTERNAL USE ONLY
|
||||||
*/
|
*/
|
||||||
protected[akka] def dispatch(receiver: ActorCell, invocation: Envelope) = {
|
protected[akka] def dispatch(receiver: ActorCell, invocation: Envelope): Unit = {
|
||||||
val mbox = receiver.mailbox
|
val mbox = receiver.mailbox
|
||||||
mbox.enqueue(receiver.self, invocation)
|
mbox.enqueue(receiver.self, invocation)
|
||||||
registerForExecution(mbox, true, false)
|
registerForExecution(mbox, true, false)
|
||||||
|
|
@ -55,7 +55,7 @@ class Dispatcher(
|
||||||
/**
|
/**
|
||||||
* INTERNAL USE ONLY
|
* INTERNAL USE ONLY
|
||||||
*/
|
*/
|
||||||
protected[akka] def systemDispatch(receiver: ActorCell, invocation: SystemMessage) = {
|
protected[akka] def systemDispatch(receiver: ActorCell, invocation: SystemMessage): Unit = {
|
||||||
val mbox = receiver.mailbox
|
val mbox = receiver.mailbox
|
||||||
mbox.systemEnqueue(receiver.self, invocation)
|
mbox.systemEnqueue(receiver.self, invocation)
|
||||||
registerForExecution(mbox, false, true)
|
registerForExecution(mbox, false, true)
|
||||||
|
|
@ -124,7 +124,7 @@ class Dispatcher(
|
||||||
} else false
|
} else false
|
||||||
}
|
}
|
||||||
|
|
||||||
override val toString = Logging.simpleName(this) + "[" + id + "]"
|
override val toString: String = Logging.simpleName(this) + "[" + id + "]"
|
||||||
}
|
}
|
||||||
|
|
||||||
object PriorityGenerator {
|
object PriorityGenerator {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue