summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2015-05-08 13:00:37 +1000
committerJason Zaugg <jzaugg@gmail.com>2015-05-08 13:00:37 +1000
commit1b7e660f74223a847b307613a8ab200923433b13 (patch)
tree3633b6801d77600bf44c8a58dfb571149ac93484 /src
parente12ba55589192fc3a3cc7b441569fbcabc04dd33 (diff)
parentee8442d295b095c302acce7bcf22287b26a16ed9 (diff)
downloadscala-1b7e660f74223a847b307613a8ab200923433b13.tar.gz
scala-1b7e660f74223a847b307613a8ab200923433b13.tar.bz2
scala-1b7e660f74223a847b307613a8ab200923433b13.zip
Merge pull request #4495 from ceedubs/updated-throws
Add @throws annotation to GenSeqLike.updated
Diffstat (limited to 'src')
-rw-r--r--src/library/scala/collection/GenSeqLike.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/library/scala/collection/GenSeqLike.scala b/src/library/scala/collection/GenSeqLike.scala
index cf1de0c8e6..f786293822 100644
--- a/src/library/scala/collection/GenSeqLike.scala
+++ b/src/library/scala/collection/GenSeqLike.scala
@@ -275,6 +275,7 @@ trait GenSeqLike[+A, +Repr] extends Any with GenIterableLike[A, Repr] with Equal
* @tparam That $thatinfo
* @param bf $bfinfo
* @return a new $coll` which is a copy of this $coll with the element at position `index` replaced by `elem`.
+ * @throws IndexOutOfBoundsException if `index` does not satisfy `0 <= index < length`.
*
* @usecase def updated(index: Int, elem: A): $Coll[A]
* @inheritdoc