summaryrefslogtreecommitdiff
path: root/src/library/scala/collection/mutable/BufferLike.scala
diff options
context:
space:
mode:
authorKato Kazuyoshi <kato.kazuyoshi@gmail.com>2011-06-18 13:52:29 +0000
committerKato Kazuyoshi <kato.kazuyoshi@gmail.com>2011-06-18 13:52:29 +0000
commit8e10b0579b15ef85ca577ae941adc941dfb62079 (patch)
treec167064f5af52cb3d3a2f87898747713fdfdc7c0 /src/library/scala/collection/mutable/BufferLike.scala
parent08546513f46d234c3e11f571ace4104521ea1a74 (diff)
downloadscala-8e10b0579b15ef85ca577ae941adc941dfb62079.tar.gz
scala-8e10b0579b15ef85ca577ae941adc941dfb62079.tar.bz2
scala-8e10b0579b15ef85ca577ae941adc941dfb62079.zip
Fixes typo in ScalaDoc: IndexOutofBoundsExcepti...
Fixes typo in ScalaDoc: IndexOutofBoundsException => IndexOutOfBoundsException. Contributed by Simon Ochsenreither. Review by dubochet.
Diffstat (limited to 'src/library/scala/collection/mutable/BufferLike.scala')
-rw-r--r--src/library/scala/collection/mutable/BufferLike.scala8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/library/scala/collection/mutable/BufferLike.scala b/src/library/scala/collection/mutable/BufferLike.scala
index 9cab3bd656..0445adaa23 100644
--- a/src/library/scala/collection/mutable/BufferLike.scala
+++ b/src/library/scala/collection/mutable/BufferLike.scala
@@ -90,7 +90,7 @@ trait BufferLike[A, +This <: BufferLike[A, This] with Buffer[A]]
*
* @param n the index where new elements are inserted.
* @param elems the traversable collection containing the elements to insert.
- * @throws IndexOutofBoundsException if the index `n` is not in the valid range
+ * @throws IndexOutOfBoundsException if the index `n` is not in the valid range
* `0 <= n <= length`.
*/
def insertAll(n: Int, elems: collection.Traversable[A])
@@ -99,7 +99,7 @@ trait BufferLike[A, +This <: BufferLike[A, This] with Buffer[A]]
*
* @param n the index which refers to the element to delete.
* @return the previous element at index `n`
- * @throws IndexOutofBoundsException if the if the index `n` is not in the valid range
+ * @throws IndexOutOfBoundsException if the if the index `n` is not in the valid range
* `0 <= n < length`.
*/
def remove(n: Int): A
@@ -108,7 +108,7 @@ trait BufferLike[A, +This <: BufferLike[A, This] with Buffer[A]]
*
* @param n the index which refers to the first element to remove.
* @param count the number of elements to remove.
- * @throws IndexOutofBoundsException if the index `n` is not in the valid range
+ * @throws IndexOutOfBoundsException if the index `n` is not in the valid range
* `0 <= n <= length - count`.
* @throws IllegalArgumentException if `count < 0`.
*/
@@ -160,7 +160,7 @@ trait BufferLike[A, +This <: BufferLike[A, This] with Buffer[A]]
*
* @param n the index where new elements are inserted.
* @param elems the traversable collection containing the elements to insert.
- * @throws IndexOutofBoundsException if the index `n` is not in the valid range
+ * @throws IndexOutOfBoundsException if the index `n` is not in the valid range
* `0 <= n <= length`.
*/
def insert(n: Int, elems: A*) { insertAll(n, elems) }