From c6bc2a97a626f1b2f35ccd62142935d784912fa4 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Mon, 30 Nov 2009 15:06:14 +0000 Subject: 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. --- src/library/scala/collection/TraversableLike.scala | 9 --------- 1 file changed, 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. * -- cgit v1.2.3