move FSM._ import into class, fixes #831

This commit is contained in:
Roland Kuhn 2011-05-02 21:18:14 +02:00
parent dadc572d61
commit ece765775b

View file

@ -49,13 +49,14 @@ Now lets create an object representing the FSM and defining the behavior.
import akka.actor.{Actor, FSM}
import akka.event.EventHandler
import FSM._
import akka.util.duration._
case object Move
class ABC extends Actor with FSM[ExampleState, Unit] {
import FSM._
startWith(A, Unit)
when(A) {