Fixes comments in Map and mutable.Map. No review

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@23109 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
prokopec 2010-09-27 11:03:57 +00:00
parent 605b15e21b
commit 0cce049b9a
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ import generic._
trait Map[A, +B] extends Iterable[(A, B)] with MapLike[A, B, Map[A, B]] {
def empty: Map[A, B] = Map.empty
/** The same map with a given default function !!! todo: move to general maps? */
/** The same map with a given default function */
def withDefault[B1 >: B](d: A => B1): Map[A, B1] = new Map.WithDefault[A, B1](this, d)
/** The same map with a given default value */

View File

@ -26,7 +26,7 @@ trait Map[A, B]
override def empty: Map[A, B] = Map.empty
/** The same map with a given default function !!! todo: move to general maps? */
/** The same map with a given default function */
def withDefault(d: A => B): Map[A, B] = new Map.WithDefault[A, B](this, d)
/** The same map with a given default value */