diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/conformance/ProfileUtilities.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/conformance/ProfileUtilities.java index 6813cfefe..f504f22d8 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/conformance/ProfileUtilities.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/conformance/ProfileUtilities.java @@ -335,7 +335,7 @@ public class ProfileUtilities extends TranslatingUtilities { private boolean autoFixSliceNames; private XVerExtensionManager xver; private boolean wantFixDifferentialFirstElementType; - private List masterSourceFileNames; + private Set masterSourceFileNames; public ProfileUtilities(IWorkerContext context, List messages, ProfileKnowledgeProvider pkp, FHIRPathEngine fpe) { super(); @@ -2465,7 +2465,7 @@ public class ProfileUtilities extends TranslatingUtilities { return element; } - public static String processRelativeUrls(String markdown, String webUrl, String basePath, List resourceNames, List filenames) { + public static String processRelativeUrls(String markdown, String webUrl, String basePath, List resourceNames, Set filenames) { StringBuilder b = new StringBuilder(); int i = 0; while (i < markdown.length()) { @@ -2508,7 +2508,7 @@ public class ProfileUtilities extends TranslatingUtilities { } - public static boolean isLikelySourceURLReference(String url, List resourceNames, List filenames) { + public static boolean isLikelySourceURLReference(String url, List resourceNames, Set filenames) { if (resourceNames != null) { for (String n : resourceNames) { if (url.startsWith(n.toLowerCase()+".html")) { @@ -6669,11 +6669,11 @@ public class ProfileUtilities extends TranslatingUtilities { return getElementById(structure, structure.getSnapshot().getElement(), element.getContentReference()); } - public List getMasterSourceFileNames() { + public Set getMasterSourceFileNames() { return masterSourceFileNames; } - public void setMasterSourceFileNames(List masterSourceFileNames) { + public void setMasterSourceFileNames(Set masterSourceFileNames) { this.masterSourceFileNames = masterSourceFileNames; }