From 1bb82a33eff2225401778dd435f4129a32d56994 Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Sun, 15 Sep 2019 21:34:10 +1000 Subject: [PATCH] debug tests --- .../main/java/org/hl7/fhir/r5/conformance/ProfileComparer.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/conformance/ProfileComparer.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/conformance/ProfileComparer.java index 0c3a89fa6..cee52ade4 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/conformance/ProfileComparer.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/conformance/ProfileComparer.java @@ -122,12 +122,14 @@ public class ProfileComparer implements ProfileKnowledgeProvider { } private void download(String address, String filename) throws IOException { + System.out.print("Download "+address+" to "+filename); URL url = new URL(address); URLConnection c = url.openConnection(); InputStream s = c.getInputStream(); FileOutputStream f = new FileOutputStream(filename); transfer(s, f, 1024); f.close(); + System.out.println(" ... "+new File(filename).length()+" bytes"); }