diff options
-rw-r--r-- | test/files/jvm/reactor.scala | 1 | ||||
-rw-r--r-- | test/files/jvm/replyablereactor.scala | 5 | ||||
-rw-r--r-- | test/files/jvm/replyreactor.scala | 6 |
3 files changed, 5 insertions, 7 deletions
diff --git a/test/files/jvm/reactor.scala b/test/files/jvm/reactor.scala index 8985f90569..2fc54d8344 100644 --- a/test/files/jvm/reactor.scala +++ b/test/files/jvm/reactor.scala @@ -1,6 +1,5 @@ import scala.actors.Reactor -import scala.actors.Actor._ case class Ping(from: Reactor) case object Pong diff --git a/test/files/jvm/replyablereactor.scala b/test/files/jvm/replyablereactor.scala index 368d172e3f..896a0bf440 100644 --- a/test/files/jvm/replyablereactor.scala +++ b/test/files/jvm/replyablereactor.scala @@ -1,5 +1,4 @@ -import scala.actors._ -import scala.actors.Actor._ +import scala.actors.ReplyReactor class MyActor extends ReplyReactor { def act() { @@ -19,7 +18,7 @@ object Test { val a = new MyActor a.start() - val b = new Reactor { + val b = new ReplyReactor { def act() { react { case r: MyActor => diff --git a/test/files/jvm/replyreactor.scala b/test/files/jvm/replyreactor.scala index 0f452dbc7b..fb915cf3f9 100644 --- a/test/files/jvm/replyreactor.scala +++ b/test/files/jvm/replyreactor.scala @@ -1,4 +1,4 @@ -import scala.actors.{Reactor, ReplyReactor} +import scala.actors.ReplyReactor object Test { def main(args: Array[String]) { @@ -12,10 +12,10 @@ object Test { } a.start() - val b = new Reactor { + val b = new ReplyReactor { def act() { react { - case r: Reactor => + case r: ReplyReactor => r ! 'hello react { case any => |