summaryrefslogtreecommitdiff
path: root/src/library/scala/Product.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2009-11-19 04:59:46 +0000
committerPaul Phillips <paulp@improving.org>2009-11-19 04:59:46 +0000
commit6f4e82da32eec2d1be861c8e4ca442d11b9a86cf (patch)
treea338985093fbb0f9fd020cb7f43a646c73501fdb /src/library/scala/Product.scala
parent2a6a02e9a782b7621e3dc79d2f07fca074b11bb6 (diff)
downloadscala-6f4e82da32eec2d1be861c8e4ca442d11b9a86cf.tar.gz
scala-6f4e82da32eec2d1be861c8e4ca442d11b9a86cf.tar.bz2
scala-6f4e82da32eec2d1be861c8e4ca442d11b9a86cf.zip
Restoring an embarassingly large quantity of de...
Restoring an embarassingly large quantity of deprecated methods whose time had not yet come.
Diffstat (limited to 'src/library/scala/Product.scala')
-rw-r--r--src/library/scala/Product.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/library/scala/Product.scala b/src/library/scala/Product.scala
index a9ced34768..ce8f733771 100644
--- a/src/library/scala/Product.scala
+++ b/src/library/scala/Product.scala
@@ -41,6 +41,9 @@ trait Product extends Equals {
def next() = { val result = productElement(c); c += 1; result }
}
+ @deprecated("use productIterator instead")
+ def productElements: Iterator[Any] = productIterator
+
/**
* By default the empty string. Implementations may override this
* method in order to prepend a string prefix to the result of the