diff options
author | Paul Phillips <paulp@improving.org> | 2013-04-23 13:55:41 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2013-04-23 15:39:21 -0700 |
commit | 1da48a45b62879c2bd2904342eeff7e6e568350a (patch) | |
tree | cdf5f7b1903d1523cb0391bda745bc9ca29836da /src/library | |
parent | 0f1a004048089dc2f51c5e1a11419072102b896b (diff) | |
download | scala-1da48a45b62879c2bd2904342eeff7e6e568350a.tar.gz scala-1da48a45b62879c2bd2904342eeff7e6e568350a.tar.bz2 scala-1da48a45b62879c2bd2904342eeff7e6e568350a.zip |
Eliminate a pile of -Xlint warnings.
Some unused private code, unused imports, and points where
an extra pair of parentheses is necessary for scalac to have
confidence in our intentions.
Diffstat (limited to 'src/library')
-rw-r--r-- | src/library/scala/collection/mutable/HashMap.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/collection/mutable/HashMap.scala b/src/library/scala/collection/mutable/HashMap.scala index 692d6b8d6a..3ec84a17ab 100644 --- a/src/library/scala/collection/mutable/HashMap.scala +++ b/src/library/scala/collection/mutable/HashMap.scala @@ -93,7 +93,7 @@ extends AbstractMap[A, B] def -=(key: A): this.type = { removeEntry(key); this } - def iterator = entriesIterator map {e => (e.key, e.value)} + def iterator = entriesIterator map (e => ((e.key, e.value))) override def foreach[C](f: ((A, B)) => C): Unit = foreachEntry(e => f((e.key, e.value))) |