Skip to content

Commit

Permalink
SO-6308: Fix condition for collecting visited components
Browse files Browse the repository at this point in the history
  • Loading branch information
AAAlinaaa committed Nov 25, 2024
1 parent cbaa83e commit d300fb9
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit d300fb9

Please sign in to comment.