summaryrefslogtreecommitdiff
path: root/src/library/scala/collection/immutable/ListSet.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/ListSet.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/ListSet.scala')
-rw-r--r--src/library/scala/collection/immutable/ListSet.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/library/scala/collection/immutable/ListSet.scala b/src/library/scala/collection/immutable/ListSet.scala
index 89d1a9640e..a6e6fba0a5 100644
--- a/src/library/scala/collection/immutable/ListSet.scala
+++ b/src/library/scala/collection/immutable/ListSet.scala
@@ -111,7 +111,7 @@ class ListSet[A] extends AbstractSet[A]
/** Creates a new iterator over all elements contained in this set.
*
- * @throws Predef.NoSuchElementException
+ * @throws java.util.NoSuchElementException
* @return the new iterator
*/
def iterator: Iterator[A] = new AbstractIterator[A] {
@@ -127,12 +127,12 @@ class ListSet[A] extends AbstractSet[A]
}
/**
- * @throws Predef.NoSuchElementException
+ * @throws java.util.NoSuchElementException
*/
override def head: A = throw new NoSuchElementException("Set has no elements")
/**
- * @throws Predef.NoSuchElementException
+ * @throws java.util.NoSuchElementException
*/
override def tail: ListSet[A] = throw new NoSuchElementException("Next of an empty set")