Skip to content

Commit

Permalink
OpenConceptLab/ocl_issues#342 fix to parallel processing
Browse files Browse the repository at this point in the history
  • Loading branch information
Harsh Patel committed Jan 27, 2021
1 parent ba0a60a commit a2438ea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ public static Optional<Identifier> getIdentifier(String value) {
}

public static void addConceptDesignation(Concept concept, CodeSystem.ConceptDefinitionComponent definitionComponent) {
concept.getConceptsNames().parallelStream().forEach(name -> {
concept.getConceptsNames().stream().forEach(name -> {
CodeSystem.ConceptDefinitionDesignationComponent designation = new CodeSystem.ConceptDefinitionDesignationComponent();
LocalizedText lt = name.getLocalizedText();
if(lt != null) {
Expand Down

0 comments on commit a2438ea

Please sign in to comment.