summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Zenger <mzenger@gmail.com>2004-03-15 10:33:07 +0000
committerMatthias Zenger <mzenger@gmail.com>2004-03-15 10:33:07 +0000
commit6d13331746d6f81f4b0650c1f06d73c35f3436c2 (patch)
treea410c29d5c613e1835f32fa7d77d0161ad0e3b5c
parent7155dffc81e96cb3f77e086d77593a511c6d80e3 (diff)
downloadscala-6d13331746d6f81f4b0650c1f06d73c35f3436c2.tar.gz
scala-6d13331746d6f81f4b0650c1f06d73c35f3436c2.tar.bz2
scala-6d13331746d6f81f4b0650c1f06d73c35f3436c2.zip
*** empty log message ***
-rw-r--r--sources/scala/List.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/scala/List.scala b/sources/scala/List.scala
index ad72123218..609f71e9d3 100644
--- a/sources/scala/List.scala
+++ b/sources/scala/List.scala
@@ -566,7 +566,7 @@ trait List[+a] extends Seq[a] {
* @return the first element in the list satisfying <code>p</code>,
* or <code>None</code> if none exists.
*/
- def find(p: a => Boolean): Option[a] = match {
+ override def find(p: a => Boolean): Option[a] = match {
case Nil => None
case head :: tail => if (p(head)) Some(head) else tail find p
};