summaryrefslogtreecommitdiff
path: root/src/library/scala/collection/mutable/ImmutableMapAdaptor.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2009-08-19 03:48:21 +0000
committerPaul Phillips <paulp@improving.org>2009-08-19 03:48:21 +0000
commit2b18a8b27ef3fb0a09d747d661ed39c1ff0aebed (patch)
treefcfebd9d3ea4d7eb00c392316c30da530f056f88 /src/library/scala/collection/mutable/ImmutableMapAdaptor.scala
parentf90e6a94a6b68c0de3000d389f65293828960195 (diff)
downloadscala-2b18a8b27ef3fb0a09d747d661ed39c1ff0aebed.tar.gz
scala-2b18a8b27ef3fb0a09d747d661ed39c1ff0aebed.tar.bz2
scala-2b18a8b27ef3fb0a09d747d661ed39c1ff0aebed.zip
Fixed the rest of the library deprecation warni...
Fixed the rest of the library deprecation warnings which had clear-ish resolutions.
Diffstat (limited to 'src/library/scala/collection/mutable/ImmutableMapAdaptor.scala')
-rw-r--r--src/library/scala/collection/mutable/ImmutableMapAdaptor.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/collection/mutable/ImmutableMapAdaptor.scala b/src/library/scala/collection/mutable/ImmutableMapAdaptor.scala
index 27e7b412e1..c309ce643e 100644
--- a/src/library/scala/collection/mutable/ImmutableMapAdaptor.scala
+++ b/src/library/scala/collection/mutable/ImmutableMapAdaptor.scala
@@ -61,7 +61,7 @@ extends Map[A, B]
override def toList: List[(A, B)] = imap.toList
- override def update(key: A, value: B): Unit = { imap = imap.update(key, value) }
+ override def update(key: A, value: B): Unit = { imap = imap.updated(key, value) }
def -= (key: A): this.type = { imap = imap - key; this }