From cb9c4a1c3a393f1a8e8e78cd9074d80ec09f9e4c Mon Sep 17 00:00:00 2001 From: Philipp Haller Date: Wed, 9 Apr 2008 09:29:54 +0000 Subject: Renamed method pending in Actor trait to mailbo... Renamed method pending in Actor trait to mailboxSize. --- src/actors/scala/actors/Actor.scala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/actors/scala/actors/Actor.scala b/src/actors/scala/actors/Actor.scala index c413071f8a..2def07b6c8 100644 --- a/src/actors/scala/actors/Actor.scala +++ b/src/actors/scala/actors/Actor.scala @@ -19,7 +19,7 @@ import scala.compat.Platform * receive, react, reply, * etc. * - * @version 0.9.13 + * @version 0.9.14 * @author Philipp Haller */ object Actor { @@ -184,7 +184,7 @@ object Actor { * * @return the number of messages in self's mailbox */ - def pending: Int = self.pending + def mailboxSize: Int = self.mailboxSize private[actors] trait Body[a] { def andThen[b](other: => b): Unit @@ -292,7 +292,7 @@ object Actor { * * * - * @version 0.9.13 + * @version 0.9.14 * @author Philipp Haller */ @serializable @@ -312,7 +312,7 @@ trait Actor extends OutputChannel[Any] { * * @return the number of messages in this actor's mailbox */ - def pending: Int = synchronized { + def mailboxSize: Int = synchronized { mailbox.size } -- cgit v1.2.3