From d300fb9f4c55f592047ae57b6ecb6de472328972 Mon Sep 17 00:00:00 2001 From: AAAlinaaa Date: Mon, 25 Nov 2024 16:24:47 +0100 Subject: [PATCH] SO-6308: Fix condition for collecting visited components --- .../snomed/datastore/request/rf2/SnomedRf2ImportRequest.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/snomed/com.b2international.snowowl.snomed.datastore/src/com/b2international/snowowl/snomed/datastore/request/rf2/SnomedRf2ImportRequest.java b/snomed/com.b2international.snowowl.snomed.datastore/src/com/b2international/snowowl/snomed/datastore/request/rf2/SnomedRf2ImportRequest.java index 5af37769f9..01096aba0a 100644 --- a/snomed/com.b2international.snowowl.snomed.datastore/src/com/b2international/snowowl/snomed/datastore/request/rf2/SnomedRf2ImportRequest.java +++ b/snomed/com.b2international.snowowl.snomed.datastore/src/com/b2international/snowowl/snomed/datastore/request/rf2/SnomedRf2ImportRequest.java @@ -15,9 +15,6 @@ */ package com.b2international.snowowl.snomed.datastore.request.rf2; -import static com.b2international.snowowl.snomed.core.domain.Rf2ReleaseType.FULL; -import static com.b2international.snowowl.snomed.core.domain.Rf2ReleaseType.SNAPSHOT; - import java.io.File; import java.io.IOException; import java.io.InputStream; @@ -255,7 +252,7 @@ ImportResponse doImport(final BranchContext context, final File rf2Archive, fina // if not a dryRun, perform import if (!dryRun) { // Import effective time slices in chronological order - boolean collectVisitedComponents = FULL == releaseType || SNAPSHOT == releaseType; + boolean collectVisitedComponents = Rf2ReleaseType.DELTA == releaseType; for (Rf2EffectiveTimeSlice slice : orderedEffectiveTimeSlices) { slice.doImport(context, codeSystemUri, importconfig, visitedComponents, collectVisitedComponents); }