diff options
author | michelou <michelou@epfl.ch> | 2010-12-08 18:28:43 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2010-12-08 18:28:43 +0000 |
commit | 4dbe72f83f7ade1517bad7444009d3d0c8a69bd5 (patch) | |
tree | 73a4ec0fe6c99dea6d0ac033774575f127671769 /test/files/detach-run/basic/basic.scala | |
parent | 6e15632fcbcb8578b30850ee93b3d3d8c9f3e7b9 (diff) | |
download | scala-4dbe72f83f7ade1517bad7444009d3d0c8a69bd5.tar.gz scala-4dbe72f83f7ade1517bad7444009d3d0c8a69bd5.tar.bz2 scala-4dbe72f83f7ade1517bad7444009d3d0c8a69bd5.zip |
minor code updates (detach plugin)
Diffstat (limited to 'test/files/detach-run/basic/basic.scala')
-rw-r--r-- | test/files/detach-run/basic/basic.scala | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/files/detach-run/basic/basic.scala b/test/files/detach-run/basic/basic.scala index 03e56a74a1..c785bd6c7d 100644 --- a/test/files/detach-run/basic/basic.scala +++ b/test/files/detach-run/basic/basic.scala @@ -1,3 +1,7 @@ +/* + * @author Stephane Micheloud + */ + object Test { val name = "basic" @@ -20,7 +24,7 @@ object Test { private var th = new Thread(this) def start() { th.start(); Thread.sleep(1000) } def run() { Server.main(Array(port.toString)) } - def terminate() { Server.terminate(); System.exit(0) } + def terminate() { Server.terminate(); system.exit(0) } } private class ClientThread(host: String, port: Int) extends Runnable { |