diff options
author | Paul Phillips <paulp@improving.org> | 2009-11-30 15:06:14 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-11-30 15:06:14 +0000 |
commit | c6bc2a97a626f1b2f35ccd62142935d784912fa4 (patch) | |
tree | d9980b3fd399bcf8881fbaa527ee0b9d138bc4ad /src | |
parent | 15ba4abc828dc17cf7f6970d716fdb0b2574e30b (diff) | |
download | scala-c6bc2a97a626f1b2f35ccd62142935d784912fa4.tar.gz scala-c6bc2a97a626f1b2f35ccd62142935d784912fa4.tar.bz2 scala-c6bc2a97a626f1b2f35ccd62142935d784912fa4.zip |
Removed a deprecated method which snuck back in...
Removed a deprecated method which snuck back into TraversableLike.
"remove" had only ever been deprecated in List, so I moved it there so
it didn't unnecessarily materialize as a deprecated method in every
Traversable.
Diffstat (limited to 'src')
-rw-r--r-- | src/library/scala/collection/TraversableLike.scala | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/library/scala/collection/TraversableLike.scala b/src/library/scala/collection/TraversableLike.scala index 284f217ad9..4c0242a40d 100644 --- a/src/library/scala/collection/TraversableLike.scala +++ b/src/library/scala/collection/TraversableLike.scala @@ -285,15 +285,6 @@ self => */ def filterNot(p: A => Boolean): Repr = filter(!p(_)) - /** Selects all elements of this $coll which do not satisfy a predicate. - * - * @param p the predicate used to test elements. - * @return a new $coll consisting of all elements of this $coll that do not satisfy the given - * predicate `p`. The order of the elements is preserved. - */ - @deprecated("use `filterNot' instead") - def remove(p: A => Boolean): Repr = filterNot(p) - /** Builds a new collection by applying a partial function to all elements of this $coll * on which the function is defined. * |