summaryrefslogtreecommitdiff
path: root/src/library/scala/Product.scala
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@epfl.ch>2009-05-30 18:10:21 +0000
committerLukas Rytz <lukas.rytz@epfl.ch>2009-05-30 18:10:21 +0000
commitc6cf4fc02204d20f792bd493641d8ccd12421800 (patch)
treea8827ab270cf77a1c5f36a48a8cf125e1bcfb8c3 /src/library/scala/Product.scala
parentab9381b4539097205d19df235f8cc3a5b2349e95 (diff)
downloadscala-c6cf4fc02204d20f792bd493641d8ccd12421800.tar.gz
scala-c6cf4fc02204d20f792bd493641d8ccd12421800.tar.bz2
scala-c6cf4fc02204d20f792bd493641d8ccd12421800.zip
big overhaul of annotations implementation.
Diffstat (limited to 'src/library/scala/Product.scala')
-rw-r--r--src/library/scala/Product.scala5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/library/scala/Product.scala b/src/library/scala/Product.scala
index b9a60e4c95..2e0a0b2816 100644
--- a/src/library/scala/Product.scala
+++ b/src/library/scala/Product.scala
@@ -39,9 +39,8 @@ trait Product extends AnyRef {
def next() = { val result = productElement(c); c += 1; result }
}
- /** @deprecated use productIterator instead
- */
- @deprecated def productElements: Iterator[Any] = productIterator
+ @deprecated("use productIterator instead")
+ def productElements: Iterator[Any] = productIterator
/**
* By default the empty string. Implementations may override this