diff options
author | Lukas Rytz <lukas.rytz@epfl.ch> | 2009-05-30 18:10:21 +0000 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@epfl.ch> | 2009-05-30 18:10:21 +0000 |
commit | c6cf4fc02204d20f792bd493641d8ccd12421800 (patch) | |
tree | a8827ab270cf77a1c5f36a48a8cf125e1bcfb8c3 /src/library/scala/Product.scala | |
parent | ab9381b4539097205d19df235f8cc3a5b2349e95 (diff) | |
download | scala-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.scala | 5 |
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 |