From f188a20c6ce8cecb8a3da4f5dc5f37e42899a338 Mon Sep 17 00:00:00 2001 From: Jon Marius Venstad Date: Fri, 24 Sep 2021 14:16:58 +0200 Subject: Shut down network when all owners also have detached --- vespajlib/src/main/java/com/yahoo/collections/CopyOnWriteHashMap.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vespajlib') diff --git a/vespajlib/src/main/java/com/yahoo/collections/CopyOnWriteHashMap.java b/vespajlib/src/main/java/com/yahoo/collections/CopyOnWriteHashMap.java index 857b7cc6acd..98370a8735a 100644 --- a/vespajlib/src/main/java/com/yahoo/collections/CopyOnWriteHashMap.java +++ b/vespajlib/src/main/java/com/yahoo/collections/CopyOnWriteHashMap.java @@ -9,7 +9,7 @@ import java.util.Map; import java.util.Set; /** - * A hashmap wrapper which defers cloning of the enclosed map until it is written. + * A hashmap wrapper which defers cloning of the enclosed map until it is written to. * Use this to make clones cheap in maps which are often not further modified. *

* As with regular maps, this can only be used safely if the content of the map is immutable. -- cgit v1.2.3