Skip to content

Commit

Permalink
Compile fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Grahame Grieve committed Nov 12, 2024
1 parent 4996f24 commit 4848133
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/main/java/org/hl7/fhir/tools/converters/CKMImporter.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import java.io.File;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

import javax.xml.parsers.DocumentBuilder;
Expand Down Expand Up @@ -105,7 +106,7 @@ private void processArchetype(String id) throws Exception {
}

private Document loadXml(String address) throws Exception {
HTTPResult res = ManagedWebAccess.get("application/xml");
HTTPResult res = ManagedWebAccess.get(Arrays.asList("web"), "application/xml");
res.checkThrowException();
InputStream xml = new ByteArrayInputStream(res.getContent());

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import java.net.MalformedURLException;
import java.net.URISyntaxException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.EnumSet;
import java.util.HashMap;
import java.util.HashSet;
Expand Down Expand Up @@ -658,7 +659,7 @@ public IValidatorResourceFetcher setLocale(Locale locale) {

@Override
public byte[] fetchRaw(IResourceValidator validator, String source) throws MalformedURLException, IOException {
org.hl7.fhir.utilities.http.HTTPResult res = ManagedWebAccess.get(source);
org.hl7.fhir.utilities.http.HTTPResult res = ManagedWebAccess.get(Arrays.asList("web"), source);
res.checkThrowException();
return res.getContent();
}
Expand Down

0 comments on commit 4848133

Please sign in to comment.