Changeset 15573 in josm for trunk/src/org
- Timestamp:
- 2019-12-08T19:47:36+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/cache/JCSCachedTileLoaderJob.java
r15525 r15573 7 7 import java.net.URL; 8 8 import java.security.SecureRandom; 9 import java.util.HashSet;10 9 import java.util.List; 11 10 import java.util.Map; … … 156 155 first = !inProgress.containsKey(deduplicationKey); 157 156 } 158 inProgress.computeIfAbsent(deduplicationKey, k -> new HashSet<>()).add(listener);157 inProgress.computeIfAbsent(deduplicationKey, k -> ConcurrentHashMap.newKeySet()).add(listener); 159 158 160 159 if (first || force) {
Note:
See TracChangeset
for help on using the changeset viewer.