From d5914a96564f06be8b59be32b20a7e7e098bee4f Mon Sep 17 00:00:00 2001 From: AAAlinaaa Date: Wed, 7 Dec 2022 17:00:39 +0100 Subject: [PATCH] fix(mrcm): Use predefined Ecl constant --- .../snomed/datastore/request/SnomedMrcmTypeRequest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/snomed/com.b2international.snowowl.snomed.datastore/src/com/b2international/snowowl/snomed/datastore/request/SnomedMrcmTypeRequest.java b/snomed/com.b2international.snowowl.snomed.datastore/src/com/b2international/snowowl/snomed/datastore/request/SnomedMrcmTypeRequest.java index e27cfc04c8d..9e75202528a 100644 --- a/snomed/com.b2international.snowowl.snomed.datastore/src/com/b2international/snowowl/snomed/datastore/request/SnomedMrcmTypeRequest.java +++ b/snomed/com.b2international.snowowl.snomed.datastore/src/com/b2international/snowowl/snomed/datastore/request/SnomedMrcmTypeRequest.java @@ -27,6 +27,7 @@ import java.util.stream.Collectors; import com.b2international.commons.options.Options; +import com.b2international.snomed.ecl.Ecl; import com.b2international.snowowl.core.domain.BranchContext; import com.b2international.snowowl.core.request.SearchResourceRequest; import com.b2international.snowowl.snomed.common.SnomedRf2Headers; @@ -98,7 +99,7 @@ public SnomedReferenceSetMembers doExecute(BranchContext context) { eclConstraint = String.format("<%s OR <%s", CONCEPT_MODEL_OBJECT_ATTRIBUTE, CONCEPT_MODEL_DATA_ATTRIBUTE ); break; default: - eclConstraint = "*"; + eclConstraint = Ecl.ANY; }; final Set typeIds = SnomedRequests.prepareSearchConcept()