diff options
author | Antoine Gourlay <antoine@gourlay.fr> | 2014-11-05 11:15:26 +0100 |
---|---|---|
committer | Antoine Gourlay <antoine@gourlay.fr> | 2014-11-05 14:44:51 +0100 |
commit | 9d0d44c8f87bfd227d4da08aec970c4d29461705 (patch) | |
tree | 2517496c81dbd3bfd8f8ed95b8ef775a72e5f224 /src/library/scala/collection/TraversableLike.scala | |
parent | 315f58f5fb7241966e218e13c9b26aea8eede56e (diff) | |
download | scala-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/TraversableLike.scala')
-rw-r--r-- | src/library/scala/collection/TraversableLike.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library/scala/collection/TraversableLike.scala b/src/library/scala/collection/TraversableLike.scala index d3a7db6968..32d31f0be8 100644 --- a/src/library/scala/collection/TraversableLike.scala +++ b/src/library/scala/collection/TraversableLike.scala @@ -419,7 +419,7 @@ trait TraversableLike[+A, +Repr] extends Any /** Selects the first element of this $coll. * $orderDependent * @return the first element of this $coll. - * @throws `NoSuchElementException` if the $coll is empty. + * @throws NoSuchElementException if the $coll is empty. */ def head: A = { var result: () => A = () => throw new NoSuchElementException @@ -473,7 +473,7 @@ trait TraversableLike[+A, +Repr] extends Any * $orderDependent * @return a $coll consisting of all elements of this $coll * except the last one. - * @throws `UnsupportedOperationException` if the $coll is empty. + * @throws UnsupportedOperationException if the $coll is empty. */ def init: Repr = { if (isEmpty) throw new UnsupportedOperationException("empty.init") |