diff options
author | Paul Phillips <paulp@improving.org> | 2009-08-22 18:48:25 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-08-22 18:48:25 +0000 |
commit | 22608da738a56936d185d71e447b0fd274a8f454 (patch) | |
tree | f4a7150918d31f0b162eae932954ff4bed7fba86 /src/library/scala/collection/Iterable.scala | |
parent | 72a7124873ad8227cc4185b95012f7a83da30a5d (diff) | |
download | scala-22608da738a56936d185d71e447b0fd274a8f454.tar.gz scala-22608da738a56936d185d71e447b0fd274a8f454.tar.bz2 scala-22608da738a56936d185d71e447b0fd274a8f454.zip |
Deprecation patrol.
Diffstat (limited to 'src/library/scala/collection/Iterable.scala')
-rw-r--r-- | src/library/scala/collection/Iterable.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/collection/Iterable.scala b/src/library/scala/collection/Iterable.scala index 3d94c9c0fb..551106d385 100644 --- a/src/library/scala/collection/Iterable.scala +++ b/src/library/scala/collection/Iterable.scala @@ -77,7 +77,7 @@ object Iterable extends TraversableFactory[Iterable] { } /** The maximum element of a non-empty sequence of ordered elements */ - @deprecated("use seq.max iConstead") + @deprecated("use seq.max instead") def max[A <% Ordered[A]](seq: Iterable[A]): A = { val xs = seq.iterator if (!xs.hasNext) throw new IllegalArgumentException("max(<empty>)") |