Skip to content

Commit

Permalink
Merge pull request #10724 from aamiguet/change-description
Browse files Browse the repository at this point in the history
Change description to match parameter name
  • Loading branch information
som-snytt committed Mar 24, 2024
2 parents 5aa3dc5 + 5d02e9c commit 4e03eb5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/library/scala/collection/mutable/Map.scala
Expand Up @@ -128,11 +128,11 @@ trait MapOps[K, V, +CC[X, Y] <: MapOps[X, Y, CC, _], +C <: MapOps[K, V, CC, C]]

/** If given key is already in this map, returns associated value.
*
* Otherwise, computes value from given expression `op`, stores with key
* Otherwise, computes value from given expression `defaultValue`, stores with key
* in map and returns that value.
*
* Concurrent map implementations may evaluate the expression `op`
* multiple times, or may evaluate `op` without inserting the result.
* Concurrent map implementations may evaluate the expression `defaultValue`
* multiple times, or may evaluate `defaultValue` without inserting the result.
*
* @param key the key to test
* @param defaultValue the computation yielding the value to associate with `key`, if
Expand Down

0 comments on commit 4e03eb5

Please sign in to comment.