8000 Merge pull request #525 from stephendrew/typo-concurrent-maps · HairyFotr/scala.github.com@d4a9bd8 · GitHub
[go: up one dir, main page]

Skip to content

Commit d4a9bd8

Browse files
authored
Merge pull request scala#525 from stephendrew/typo-concurrent-maps
Fix small typo.
2 parents 62d1fa7 + f1dc645 commit d4a9bd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

overviews/collections/concrete-mutable-collection-classes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ A concurrent map can be accessed by several threads at once. In addition to the
143143

144144
| WHAT IT IS | WHAT IT DOES |
145145
| ------ | ------ |
146-
| `m putIfAbsent(k, v)` |Adds key/value binding `k -> m` unless `k` is already defined in `m` |
146+
| `m putIfAbsent(k, v)` |Adds key/value binding `k -> v` unless `k` is already defined in `m` |
147147
| `m remove (k, v)` |Removes entry for `k` if it is currently mapped to `v`. |
148148
| `m replace (k, old, new)` |Replaces value associated with key `k` to `new`, if it was previously bound to `old`. |
149149
| `m replace (k, v)` |Replaces value associated with key `k` to `v`, if it was previously bound to some value.|

0 commit comments

Comments
 (0)
0