From f341b97e0bd92dda670b602f3004bb19e6c785e2 Mon Sep 17 00:00:00 2001 From: michelou Date: Thu, 1 Mar 2007 13:50:18 +0000 Subject: updated scaladoc comments (links, tuples, ..) --- src/actors/scala/actors/Actor.scala | 41 +++++++++++++++++------------- src/library/scala/ClassfileAttribute.scala | 6 +++-- src/library/scala/StaticAttribute.scala | 3 ++- 3 files changed, 29 insertions(+), 21 deletions(-) (limited to 'src') diff --git a/src/actors/scala/actors/Actor.scala b/src/actors/scala/actors/Actor.scala index 701bfa6172..55bfb662b9 100644 --- a/src/actors/scala/actors/Actor.scala +++ b/src/actors/scala/actors/Actor.scala @@ -1,7 +1,7 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** -** / __/ __// _ | / / / _ | (c) 2005-2006, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** +** / __/ __// _ | / / / _ | (c) 2005-2007, LAMP/EPFL ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ @@ -11,7 +11,7 @@ package scala.actors import scala.collection.mutable.{HashSet, Queue} -import compat.Platform +import scala.compat.Platform /** * The Actor object provides functions for the definition of @@ -691,26 +691,31 @@ trait Actor extends OutputChannel[Any] { } -/** - *

This object is used as the timeout pattern in - * receiveWithin and reactWithin. - *

- *

The following example demonstrates its usage:

- * receiveWithin(500) {
- *   case {x, y}  => ...
- *   case TIMEOUT => ...
- * }
- * 
+/**

+ * This object is used as the timeout pattern in + * + * receiveWithin and + * + * reactWithin. + *

+ *

+ * The following example demonstrates its usage: + *

+ *    receiveWithin(500) {
+ *      case (x, y) => ...
+ *      case TIMEOUT => ...
+ *    }
* - * @version 0.9.4 - * @author Philipp Haller + * @version 0.9.4 + * @author Philipp Haller */ case object TIMEOUT -/** - *

This class is used to manage control flow of actor - * executions.

+/**

+ * This class is used to manage control flow of actor + * executions. + *

* * @version 0.9.4 * @author Philipp Haller diff --git a/src/library/scala/ClassfileAttribute.scala b/src/library/scala/ClassfileAttribute.scala index 6933342486..23d48409b9 100644 --- a/src/library/scala/ClassfileAttribute.scala +++ b/src/library/scala/ClassfileAttribute.scala @@ -13,10 +13,12 @@ package scala /**

* A base class for classfile attributes. These are stored as - * Java annotations in classfiles. + * Java annotations in classfiles. *

* - * @deprecated use ClassfileAnnotation instead + * @deprecated use ClassfileAnnotation instead * @author Martin Odersky * @version 1.1, 2/02/2007 */ diff --git a/src/library/scala/StaticAttribute.scala b/src/library/scala/StaticAttribute.scala index 16e5abd268..1f637955b4 100644 --- a/src/library/scala/StaticAttribute.scala +++ b/src/library/scala/StaticAttribute.scala @@ -16,7 +16,8 @@ package scala * to the Scala type checker, even across different compilation units. *

* - * @deprecated use StaticAnnotation instead + * @deprecated use StaticAnnotation instead * @author Martin Odersky * @version 1.1, 2/02/2007 */ -- cgit v1.2.3