summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Haller <hallerp@gmail.com>2008-04-09 09:29:54 +0000
committerPhilipp Haller <hallerp@gmail.com>2008-04-09 09:29:54 +0000
commitcb9c4a1c3a393f1a8e8e78cd9074d80ec09f9e4c (patch)
treece9c69eb663cc3d475e63adad0b1f2c687317919
parent9a15040953e86ad4e6350fbbfe7accd4deaac6d4 (diff)
downloadscala-cb9c4a1c3a393f1a8e8e78cd9074d80ec09f9e4c.tar.gz
scala-cb9c4a1c3a393f1a8e8e78cd9074d80ec09f9e4c.tar.bz2
scala-cb9c4a1c3a393f1a8e8e78cd9074d80ec09f9e4c.zip
Renamed method pending in Actor trait to mailbo...
Renamed method pending in Actor trait to mailboxSize.
-rw-r--r--src/actors/scala/actors/Actor.scala8
1 files changed, 4 insertions, 4 deletions
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
* <code>receive</code>, <code>react</code>, <code>reply</code>,
* 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 <code>self</code>'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 {
* </li>
* </ul>
*
- * @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
}