=sam #3887 Public domain license for activator templates
This commit is contained in:
parent
a6c29dc064
commit
a1196f21ad
71 changed files with 1799 additions and 261 deletions
|
|
@ -17,7 +17,7 @@ object MyActor {
|
|||
class MyActor extends Actor {
|
||||
import MyActor._
|
||||
def receive = {
|
||||
case message: Message ⇒ message match {
|
||||
case message: Message => message match {
|
||||
case BarMessage(bar) => sender ! BazMessage("Got " + bar)
|
||||
// warning here:
|
||||
// "match may not be exhaustive. It would fail on the following input: FooMessage(_)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue