Skip to content

Commit 34bc424

Browse files
authored
Merge pull request scala/scala#10724 from aamiguet/change-description
Change description to match parameter name
2 parents aab037f + d79ce29 commit 34bc424

File tree

1 file changed

+3
-3
lines changed
  • library/src/scala/collection/mutable

1 file changed

+3
-3
lines changed

library/src/scala/collection/mutable/Map.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,11 @@ trait MapOps[K, V, +CC[X, Y] <: MapOps[X, Y, CC, _], +C <: MapOps[K, V, CC, C]]
128128

129129
/** If given key is already in this map, returns associated value.
130130
*
131-
* Otherwise, computes value from given expression `op`, stores with key
131+
* Otherwise, computes value from given expression `defaultValue`, stores with key
132132
* in map and returns that value.
133133
*
134-
* Concurrent map implementations may evaluate the expression `op`
135-
* multiple times, or may evaluate `op` without inserting the result.
134+
* Concurrent map implementations may evaluate the expression `defaultValue`
135+
* multiple times, or may evaluate `defaultValue` without inserting the result.
136136
*
137137
* @param key the key to test
138138
* @param defaultValue the computation yielding the value to associate with `key`, if

0 commit comments

Comments
 (0)