summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIulian Dragos <jaguarul@gmail.com>2008-05-09 12:53:13 +0000
committerIulian Dragos <jaguarul@gmail.com>2008-05-09 12:53:13 +0000
commitfaeeb4f264534e7f39b0a8f7c87226069717b43d (patch)
tree5a3697c1ab66866b4e92ba55451f113f007d1c9f
parent53bce94d3040045df12a79cd80c03653ee81174f (diff)
downloadscala-faeeb4f264534e7f39b0a8f7c87226069717b43d.tar.gz
scala-faeeb4f264534e7f39b0a8f7c87226069717b43d.tar.bz2
scala-faeeb4f264534e7f39b0a8f7c87226069717b43d.zip
Fixed #863.
-rw-r--r--src/library/scala/Seq.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/Seq.scala b/src/library/scala/Seq.scala
index 14001d1b0a..b49b24ebe8 100644
--- a/src/library/scala/Seq.scala
+++ b/src/library/scala/Seq.scala
@@ -168,7 +168,7 @@ trait Seq[+A] extends AnyRef with PartialFunction[Int, A] with Collection[A] {
/** Returns the last element of this list.
*
* @return the last element of the list.
- * @throws Predef.UnsupportedOperationException if the list is empty.
+ * @throws Predef.NoSuchElementException if the list is empty.
*/
def last: A = length match {
case 0 => throw new Predef.NoSuchElementException