summaryrefslogtreecommitdiff
path: root/src/library/scala/collection/immutable/Stream.scala
diff options
context:
space:
mode:
authorAntoine Gourlay <antoine@gourlay.fr>2014-11-05 11:15:26 +0100
committerAntoine Gourlay <antoine@gourlay.fr>2014-11-05 14:44:51 +0100
commit9d0d44c8f87bfd227d4da08aec970c4d29461705 (patch)
tree2517496c81dbd3bfd8f8ed95b8ef775a72e5f224 /src/library/scala/collection/immutable/Stream.scala
parent315f58f5fb7241966e218e13c9b26aea8eede56e (diff)
downloadscala-9d0d44c8f87bfd227d4da08aec970c4d29461705.tar.gz
scala-9d0d44c8f87bfd227d4da08aec970c4d29461705.tar.bz2
scala-9d0d44c8f87bfd227d4da08aec970c4d29461705.zip
cleanup @throws tags in library and reflect
- there is no need for explicit links with [[ and ]] - there is no need for explicit backquoting
Diffstat (limited to 'src/library/scala/collection/immutable/Stream.scala')
-rw-r--r--src/library/scala/collection/immutable/Stream.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/library/scala/collection/immutable/Stream.scala b/src/library/scala/collection/immutable/Stream.scala
index 714d5117d3..09a69b8096 100644
--- a/src/library/scala/collection/immutable/Stream.scala
+++ b/src/library/scala/collection/immutable/Stream.scala
@@ -225,7 +225,7 @@ self =>
* }}}
*
* @return The first element of the `Stream`.
- * @throws Predef.NoSuchElementException if the stream is empty.
+ * @throws java.util.NoSuchElementException if the stream is empty.
*/
def head: A
@@ -236,7 +236,7 @@ self =>
* returns the lazy result.
*
* @return The tail of the `Stream`.
- * @throws Predef.UnsupportedOperationException if the stream is empty.
+ * @throws UnsupportedOperationException if the stream is empty.
*/
def tail: Stream[A]
@@ -876,7 +876,7 @@ self =>
* @return A new `Stream` containing everything but the last element. If your
* `Stream` represents an infinite series, this method will not return.
*
- * @throws `Predef.UnsupportedOperationException` if the stream is empty.
+ * @throws UnsupportedOperationException if the stream is empty.
*/
override def init: Stream[A] =
if (isEmpty) super.init