From 519aa39f18aab26bb96d28d47c7542e8ee3c498c Mon Sep 17 00:00:00 2001 From: Viktor Klang Date: Thu, 8 Dec 2011 15:03:23 +0100 Subject: [PATCH] Removing 1-entry lists --- akka-docs/scala/actors.rst | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/akka-docs/scala/actors.rst b/akka-docs/scala/actors.rst index 924e31ef10..d4ce659db9 100644 --- a/akka-docs/scala/actors.rst +++ b/akka-docs/scala/actors.rst @@ -474,9 +474,7 @@ Upgrade ------- Akka supports hotswapping the Actor’s message loop (e.g. its implementation) at -runtime. - -* Invoke the ``become`` method from within the Actor. +runtime: Invoke the ``become`` method from within the Actor. Become takes a ``PartialFunction[Any, Unit]`` that implements the new message handler. The hotswapped code is kept in a Stack which can be @@ -548,9 +546,7 @@ Downgrade --------- Since the hotswapped code is pushed to a Stack you can downgrade the code as -well. - -* Invoke the ``unbecome`` method from within the Actor. +well, all you need to do is to: Invoke the ``unbecome`` method from within the Actor. This will pop the Stack and replace the Actor's implementation with the ``PartialFunction[Any, Unit]`` that is at the top of the Stack.