diff options
author | Paul Phillips <paulp@improving.org> | 2009-09-22 06:24:34 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-09-22 06:24:34 +0000 |
commit | efc9abd507efc4a1847459a3523dbd95d1e0acb3 (patch) | |
tree | 965a24814c8546972cddf718988e7ab41cce1cb4 /src/actors | |
parent | d094b4ac4dfc3822129562921d801a2ae7616605 (diff) | |
download | scala-efc9abd507efc4a1847459a3523dbd95d1e0acb3.tar.gz scala-efc9abd507efc4a1847459a3523dbd95d1e0acb3.tar.bz2 scala-efc9abd507efc4a1847459a3523dbd95d1e0acb3.zip |
Attempting to widen the field of possibilities ...
Attempting to widen the field of possibilities for equality, a proof
by construction that a large codebase doesn't need to perform equality
checks between different primitives types if it is not so inclined.
Diffstat (limited to 'src/actors')
-rw-r--r-- | src/actors/scala/actors/Actor.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/actors/scala/actors/Actor.scala b/src/actors/scala/actors/Actor.scala index 3467b65738..92111d6bf8 100644 --- a/src/actors/scala/actors/Actor.scala +++ b/src/actors/scala/actors/Actor.scala @@ -511,7 +511,7 @@ trait Actor extends AbstractActor with ReplyReactor with ReplyableActor { drainSendBuffer(mailbox) // keep going () => {} - } else if (msec == 0) { + } else if (msec == 0L) { done = true receiveTimeout } else { @@ -601,7 +601,7 @@ trait Actor extends AbstractActor with ReplyReactor with ReplyableActor { drainSendBuffer(mailbox) // keep going () => {} - } else if (msec == 0) { + } else if (msec == 0L) { done = true receiveTimeout } else { |