summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2006-11-28 17:22:45 +0000
committermichelou <michelou@epfl.ch>2006-11-28 17:22:45 +0000
commit899a7adfe51ff14f8c1beb45e7dd7c5dee14a0b6 (patch)
tree417c7d9cda6681ae58868c1c7667ec8cb8188ec3
parent77708ded5edeb19bae5811289202448a93c191fb (diff)
downloadscala-899a7adfe51ff14f8c1beb45e7dd7c5dee14a0b6.tar.gz
scala-899a7adfe51ff14f8c1beb45e7dd7c5dee14a0b6.tar.bz2
scala-899a7adfe51ff14f8c1beb45e7dd7c5dee14a0b6.zip
added comment on MAX_<value_type> in generated ...
added comment on MAX_<value_type> in generated API documentation
-rw-r--r--src/compiler/scala/tools/nsc/doc/DocGenerator.scala4
-rw-r--r--src/library/scala/remote.scala11
-rw-r--r--src/library/scala/serializable.scala4
3 files changed, 14 insertions, 5 deletions
diff --git a/src/compiler/scala/tools/nsc/doc/DocGenerator.scala b/src/compiler/scala/tools/nsc/doc/DocGenerator.scala
index c1d02b7ab5..9c66dc59eb 100644
--- a/src/compiler/scala/tools/nsc/doc/DocGenerator.scala
+++ b/src/compiler/scala/tools/nsc/doc/DocGenerator.scala
@@ -996,6 +996,10 @@ abstract class DocGenerator extends Models {
* underlying host system. All value classes inherit from class
* <a href="AnyVal.html"><code>AnyVal</code></a>.
* </p>
+ * <p>
+ * Value <code>MAX_""" + sym.name.toString().toUpperCase() + """</code>
+ * in defined in object <a href="compat/Math$object.html">scala.compat.Math</a>.
+ * </p>
*/"""
new PrimitiveContentFrame {
def sym = definitions.ByteClass
diff --git a/src/library/scala/remote.scala b/src/library/scala/remote.scala
index d11730e9af..590cce82a2 100644
--- a/src/library/scala/remote.scala
+++ b/src/library/scala/remote.scala
@@ -1,6 +1,6 @@
/* __ *\
** ________ ___ / / ___ Scala API **
-** / __/ __// _ | / / / _ | (c) 2002-2006, LAMP/EPFL **
+** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL **
** __\ \/ /__/ __ |/ /__/ __ | **
** /____/\___/_/ |_/____/_/ | | **
** |/ **
@@ -9,7 +9,12 @@
// $Id$
-package scala;
-
+package scala
+/**
+ * An attribute that designates the class to which it is applied as remotable.
+ *
+ * @see Method <a href="ScalaObject.html#$tag()">$tag</a> in trait
+ * <a href="ScalaObject.html">scala.ScalaObject</a>.
+ */
class remote extends Attribute {}
diff --git a/src/library/scala/serializable.scala b/src/library/scala/serializable.scala
index eeb9cc0bc6..ba6c1dd45b 100644
--- a/src/library/scala/serializable.scala
+++ b/src/library/scala/serializable.scala
@@ -1,6 +1,6 @@
/* __ *\
** ________ ___ / / ___ Scala API **
-** / __/ __// _ | / / / _ | (c) 2002-2006, LAMP/EPFL **
+** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL **
** __\ \/ /__/ __ |/ /__/ __ | **
** /____/\___/_/ |_/____/_/ | | **
** |/ **
@@ -9,7 +9,7 @@
// $Id$
-package scala;
+package scala
/**