diff --git a/org.hl7.fhir.dstu3/src/main/java/org/hl7/fhir/dstu3/utils/client/FHIRToolingClient.java b/org.hl7.fhir.dstu3/src/main/java/org/hl7/fhir/dstu3/utils/client/FHIRToolingClient.java index cd9d665f6..36ddba865 100644 --- a/org.hl7.fhir.dstu3/src/main/java/org/hl7/fhir/dstu3/utils/client/FHIRToolingClient.java +++ b/org.hl7.fhir.dstu3/src/main/java/org/hl7/fhir/dstu3/utils/client/FHIRToolingClient.java @@ -482,13 +482,9 @@ public class FHIRToolingClient extends FHIRBaseToolingClient { recordUse(); Parameters p = expParams == null ? new Parameters() : expParams.copy(); p.addParameter().setName("valueSet").setResource(source); - if (params == null) { - params = new HashMap<>(); + for (String n : params.keySet()) { + p.addParameter().setName(n).setValue(new StringType(params.get(n))); } - for (String n : params.keySet()) { - p.addParameter().setName(n).setValue(new StringType(params.get(n))); - } - org.hl7.fhir.dstu3.utils.client.network.ResourceRequest result = null; try {