diff options
author | Paul Phillips <paulp@improving.org> | 2009-08-22 19:52:46 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-08-22 19:52:46 +0000 |
commit | 27fc24b0a2251e6817c737399544b9cc0dbf4ef4 (patch) | |
tree | d6cccc89036d45c3a180ab49074a1b7925aaa32f /src/compiler/scala/tools/nsc/ast/TreeBrowsers.scala | |
parent | 22608da738a56936d185d71e447b0fd274a8f454 (diff) | |
download | scala-27fc24b0a2251e6817c737399544b9cc0dbf4ef4.tar.gz scala-27fc24b0a2251e6817c737399544b9cc0dbf4ef4.tar.bz2 scala-27fc24b0a2251e6817c737399544b9cc0dbf4ef4.zip |
Deprecation patrol continues patrolling.
Diffstat (limited to 'src/compiler/scala/tools/nsc/ast/TreeBrowsers.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/ast/TreeBrowsers.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/ast/TreeBrowsers.scala b/src/compiler/scala/tools/nsc/ast/TreeBrowsers.scala index eb46e93d73..701fd9401e 100644 --- a/src/compiler/scala/tools/nsc/ast/TreeBrowsers.scala +++ b/src/compiler/scala/tools/nsc/ast/TreeBrowsers.scala @@ -112,7 +112,7 @@ abstract class TreeBrowsers { def isLeaf(node: Any): Boolean = packChildren(node).length == 0 def removeTreeModelListener(l: TreeModelListener): Unit = - listeners remove (x => x == l) + listeners filterNot (_ == l) /** we ignore this message for now */ def valueForPathChanged(path: TreePath, newValue: Any) = () |