diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2015-05-08 13:00:37 +1000 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2015-05-08 13:00:37 +1000 |
commit | 1b7e660f74223a847b307613a8ab200923433b13 (patch) | |
tree | 3633b6801d77600bf44c8a58dfb571149ac93484 | |
parent | e12ba55589192fc3a3cc7b441569fbcabc04dd33 (diff) | |
parent | ee8442d295b095c302acce7bcf22287b26a16ed9 (diff) | |
download | scala-1b7e660f74223a847b307613a8ab200923433b13.tar.gz scala-1b7e660f74223a847b307613a8ab200923433b13.tar.bz2 scala-1b7e660f74223a847b307613a8ab200923433b13.zip |
Merge pull request #4495 from ceedubs/updated-throws
Add @throws annotation to GenSeqLike.updated
-rw-r--r-- | src/library/scala/collection/GenSeqLike.scala | 1 |
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 |