summaryrefslogtreecommitdiff
path: root/src/actors-migration/scala/actors/migration/StashingActor.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/actors-migration/scala/actors/migration/StashingActor.scala')
-rw-r--r--src/actors-migration/scala/actors/migration/StashingActor.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actors-migration/scala/actors/migration/StashingActor.scala b/src/actors-migration/scala/actors/migration/StashingActor.scala
index 12bad2ed1c..75f95b78ca 100644
--- a/src/actors-migration/scala/actors/migration/StashingActor.scala
+++ b/src/actors-migration/scala/actors/migration/StashingActor.scala
@@ -65,7 +65,7 @@ trait StashingActor extends InternalActor {
* Puts the behavior on top of the hotswap stack.
* If "discardOld" is true, an unbecome will be issued prior to pushing the new behavior to the stack
*/
- private def become(behavior: Receive, discardOld: Boolean = true) {
+ private def become(behavior: Receive, discardOld: Boolean) {
if (discardOld) unbecome()
behaviorStack = behaviorStack.push(wrapWithSystemMessageHandling(behavior))
}