summaryrefslogtreecommitdiff
path: root/src/library/scala/Product.scala
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2007-12-19 16:52:40 +0000
committermichelou <michelou@epfl.ch>2007-12-19 16:52:40 +0000
commit8ad43107f52b278930a663874943de9eda0c8df0 (patch)
tree2e7fa80109cdd1a2ba1053aad0ff951132f71251 /src/library/scala/Product.scala
parent999d30eea73cc19ff1603fc57c13d937c4fc6ce2 (diff)
downloadscala-8ad43107f52b278930a663874943de9eda0c8df0.tar.gz
scala-8ad43107f52b278930a663874943de9eda0c8df0.tar.bz2
scala-8ad43107f52b278930a663874943de9eda0c8df0.zip
removed deprecated features
Diffstat (limited to 'src/library/scala/Product.scala')
-rw-r--r--src/library/scala/Product.scala15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/library/scala/Product.scala b/src/library/scala/Product.scala
index 65567a6616..bc77c939ad 100644
--- a/src/library/scala/Product.scala
+++ b/src/library/scala/Product.scala
@@ -1,6 +1,6 @@
/* __ *\
** ________ ___ / / ___ Scala API **
-** / __/ __// _ | / / / _ | (c) 2002-2007, LAMP/EPFL **
+** / __/ __// _ | / / / _ | (c) 2002-2008, LAMP/EPFL **
** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ **
** /____/\___/_/ |_/____/_/ | | **
** |/ **
@@ -28,23 +28,10 @@ trait Product extends AnyRef {
*/
def productElement(n: Int): Any
- /** for a case class <code>A(x_1,...,x_k))</code>, returns <code>x_(i+1)</code>
- * for <code>0 &lt;= i &lt; k</code>
- *
- * @param n the position of the n-th element
- * @throws IndexOutOfBoundsException
- * @return ...
- */
- @deprecated def element(n: Int): Any = productElement(n)
-
/** return k for a product <code>A(x_1,...,x_k))</code>
*/
def productArity: Int
- /** return k for a product <code>A(x_1,...,x_k))</code>
- */
- @deprecated def arity: Int = productArity
-
/**
* By default the empty string. Implementations may override this
* method in order to prepend a string prefix to the result of the