Skip to content

Commit

Permalink
PIP-62 Synchronise MRCM ungrouped roles map to avoid US Edition error.
Browse files Browse the repository at this point in the history
  • Loading branch information
kaicode committed May 12, 2021
1 parent e6822fe commit ba1eca7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ public class SnomedTaxonomy {
private Map<String, OWLAxiom> axiomsById = new ConcurrentHashMap<>();

private Map<Long, Set<Long>> inferredSubTypesMap = new Long2ObjectOpenHashMap<>();
private Map<Long, Set<Long>> ungroupedRolesByContentType = new HashMap<>();

// Ungrouped roles map must be synchronised because international and extension refset members are loaded in parallel. The US Edition package contains the full MRCM.
private Map<Long, Set<Long>> ungroupedRolesByContentType = Long2ObjectMaps.synchronize(new Long2ObjectOpenHashMap<>());
private Set<Long> inactivatedConcepts = new LongOpenHashSet();
private Map<Long, Set<Description>> conceptDescriptionMap = Long2ObjectMaps.synchronize(new Long2ObjectOpenHashMap<>());
private Map<Long, Description> descriptionMap = Long2ObjectMaps.synchronize(new Long2ObjectOpenHashMap<>());
Expand Down

0 comments on commit ba1eca7

Please sign in to comment.