summaryrefslogtreecommitdiff
path: root/src/library/scala/collection/immutable/Map.scala
diff options
context:
space:
mode:
authornermin <nserifovic@bostontechnologies.com>2013-08-30 12:11:20 -0400
committernermin <nserifovic@bostontechnologies.com>2013-08-30 12:11:20 -0400
commit896addddd2223526d4afde968294f40bed3caba2 (patch)
tree3ddab8f05ff6cf9eb36f1c1eaa7d270c2234ae9e /src/library/scala/collection/immutable/Map.scala
parentdd2023789202fa944ea7d4f04e25ad4092d37326 (diff)
downloadscala-896addddd2223526d4afde968294f40bed3caba2.tar.gz
scala-896addddd2223526d4afde968294f40bed3caba2.tar.bz2
scala-896addddd2223526d4afde968294f40bed3caba2.zip
Correcting scaladoc for all classes defining withDefaultValue method.
The description of the single parameter seems to be a copy and paste mistake from withDefault method.
Diffstat (limited to 'src/library/scala/collection/immutable/Map.scala')
-rw-r--r--src/library/scala/collection/immutable/Map.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/collection/immutable/Map.scala b/src/library/scala/collection/immutable/Map.scala
index a3f5c85961..72a7f2a030 100644
--- a/src/library/scala/collection/immutable/Map.scala
+++ b/src/library/scala/collection/immutable/Map.scala
@@ -52,7 +52,7 @@ trait Map[A, +B] extends Iterable[(A, B)]
*
* Invoking transformer methods (e.g. `map`) will not preserve the default value.
*
- * @param d the function mapping keys to values, used for non-present keys
+ * @param d default value used for non-present keys
* @return a wrapper of the map with a default value
*/
def withDefaultValue[B1 >: B](d: B1): immutable.Map[A, B1] = new Map.WithDefault[A, B1](this, x => d)