Skip to content

Commit 66a1c4a

Browse files
committed
Minor adjustments in RC.10
1 parent e83fe6c commit 66a1c4a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ Race conditions
8181
](#cache-invalidation-race)
8282
- [Iteration, Stream pipeline, or copying a `Collections.synchronized*()` collection is protected
8383
by the lock?](#synchronized-collection-iter)
84-
- [A synchronized collection is passed into `addAll()`, `removeAll()`, or `putAll()` under the
85-
lock?](#synchronized-collection-iter)
84+
- [A synchronized collection is passed into `containsAll()`, `addAll()`, `removeAll()`, or
85+
`putAll()` under the lock?](#synchronized-collection-iter)
8686

8787
Testing
8888
- [Unit tests for thread-safe classes are multi-threaded?](#multi-threaded-tests)
@@ -725,7 +725,7 @@ https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collectio
725725
for examples and details.
726726

727727
This also applies to passing synchronized collections into:
728-
- Copy constructors of other collections, e. g. `new ArrayList<>(synchronizedList)`
728+
- Copy constructors of other collections, e. g. `new ArrayList<>(synchronizedColl)`
729729
- Static factory methods of other collections, e. g. `List.copyOf()`, `Set.copyOf()`,
730730
`ImmutableMap.copyOf()`
731731
- Bulk methods on other collections:

0 commit comments

Comments
 (0)