From ece765775bd09c9c7bcc6272506cc147f35887dd Mon Sep 17 00:00:00 2001 From: Roland Kuhn Date: Mon, 2 May 2011 21:18:14 +0200 Subject: [PATCH] move FSM._ import into class, fixes #831 --- akka-docs/scala/fsm.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/akka-docs/scala/fsm.rst b/akka-docs/scala/fsm.rst index 3b5fdd4394..89dedb52ec 100644 --- a/akka-docs/scala/fsm.rst +++ b/akka-docs/scala/fsm.rst @@ -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) {