summaryrefslogtreecommitdiff
path: root/src/library
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2007-04-25 11:08:44 +0000
committermichelou <michelou@epfl.ch>2007-04-25 11:08:44 +0000
commit26f25f8d8859afa8c3c54efdd1e17e7634cee790 (patch)
tree48c8abc0f62f82e4a5a1446d6f490591a20543e9 /src/library
parenta11f6935e03c56f2f30054c50b9dd2b0f6f6ca63 (diff)
downloadscala-26f25f8d8859afa8c3c54efdd1e17e7634cee790.tar.gz
scala-26f25f8d8859afa8c3c54efdd1e17e7634cee790.tar.bz2
scala-26f25f8d8859afa8c3c54efdd1e17e7634cee790.zip
updated annotations in scala/concurrent
Diffstat (limited to 'src/library')
-rw-r--r--src/library/scala/concurrent/Actor.scala7
-rw-r--r--src/library/scala/concurrent/NameServer.scala6
-rw-r--r--src/library/scala/concurrent/Pid.scala8
-rw-r--r--src/library/scala/concurrent/Process.scala4
4 files changed, 12 insertions, 13 deletions
diff --git a/src/library/scala/concurrent/Actor.scala b/src/library/scala/concurrent/Actor.scala
index f8947d6a6b..9c828a3100 100644
--- a/src/library/scala/concurrent/Actor.scala
+++ b/src/library/scala/concurrent/Actor.scala
@@ -1,7 +1,7 @@
/* __ *\
** ________ ___ / / ___ Scala API **
-** / __/ __// _ | / / / _ | (c) 2003-2006, LAMP/EPFL **
-** __\ \/ /__/ __ |/ /__/ __ | **
+** / __/ __// _ | / / / _ | (c) 2003-2007, LAMP/EPFL **
+** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ **
** /____/\___/_/ |_/____/_/ | | **
** |/ **
\* */
@@ -11,7 +11,6 @@
package scala.concurrent
-
import java.lang.Thread
/**
@@ -21,7 +20,7 @@ import java.lang.Thread
* @version 1.0
* @deprecated use scala.actors package instead
*/
-[deprecated]
+@deprecated
abstract class Actor extends Thread {
private val in = new MailBox
diff --git a/src/library/scala/concurrent/NameServer.scala b/src/library/scala/concurrent/NameServer.scala
index 309382b502..35b858ab4d 100644
--- a/src/library/scala/concurrent/NameServer.scala
+++ b/src/library/scala/concurrent/NameServer.scala
@@ -1,7 +1,7 @@
/* __ *\
** ________ ___ / / ___ Scala API **
-** / __/ __// _ | / / / _ | (c) 2003-2006, LAMP/EPFL **
-** __\ \/ /__/ __ |/ /__/ __ | **
+** / __/ __// _ | / / / _ | (c) 2003-2007, LAMP/EPFL **
+** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ **
** /____/\___/_/ |_/____/_/ | | **
** |/ **
\* */
@@ -17,7 +17,7 @@ package scala.concurrent
* @version 1.0, 01/10/2003
* @deprecated use scala.actors package instead
*/
-[deprecated]
+@deprecated
object NameServer {
val names = new scala.collection.mutable.HashMap[Symbol, Process]
diff --git a/src/library/scala/concurrent/Pid.scala b/src/library/scala/concurrent/Pid.scala
index 2bd9082d31..c89b2fe39a 100644
--- a/src/library/scala/concurrent/Pid.scala
+++ b/src/library/scala/concurrent/Pid.scala
@@ -1,12 +1,12 @@
/* __ *\
** ________ ___ / / ___ Scala API **
-** / __/ __// _ | / / / _ | (c) 2003-2006, LAMP/EPFL **
-** __\ \/ /__/ __ |/ /__/ __ | **
+** / __/ __// _ | / / / _ | (c) 2003-2007, LAMP/EPFL **
+** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ **
** /____/\___/_/ |_/____/_/ | | **
** |/ **
\* */
-// $Id: Pid.scala 7955 2006-06-22 13:55:30 +0000 (Thu, 22 Jun 2006) michelou $
+// $Id: $
package scala.concurrent
@@ -19,7 +19,7 @@ package scala.concurrent
* @version 1.0
* @deprecated use scala.actors package instead
*/
-[deprecated]
+@deprecated
class Pid(actor: Actor) {
private var target = actor
diff --git a/src/library/scala/concurrent/Process.scala b/src/library/scala/concurrent/Process.scala
index e1a663ba74..550215173d 100644
--- a/src/library/scala/concurrent/Process.scala
+++ b/src/library/scala/concurrent/Process.scala
@@ -1,7 +1,7 @@
/* __ *\
** ________ ___ / / ___ Scala API **
** / __/ __// _ | / / / _ | (c) 2003-2007, LAMP/EPFL **
-** __\ \/ /__/ __ |/ /__/ __ | **
+** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ **
** /____/\___/_/ |_/____/_/ | | **
** |/ **
\* */
@@ -18,7 +18,7 @@ package scala.concurrent
* @version 1.0, 01/10/2003
* @deprecated use scala.actors package instead
*/
-[deprecated]
+@deprecated
object Process {
def spawn(body: => Unit): Process = {