Test fixes

This commit is contained in:
James Agnew 2024-11-23 20:35:11 -05:00
parent 4713eeee1c
commit 59e810dee9

View File

@ -491,12 +491,14 @@ public class ValidationSupportChain implements IValidationSupport {
if (retVal == null) { if (retVal == null) {
retVal = CacheValue.empty(); retVal = CacheValue.empty();
for (IValidationSupport next : myChain) { for (IValidationSupport next : myChain) {
ValueSetExpansionOutcome expanded = if (isValueSetSupported(theValidationSupportContext, theValueSetUrlToExpand, next)) {
next.expandValueSet(theValidationSupportContext, expansionOptions, theValueSetUrlToExpand); ValueSetExpansionOutcome expanded =
if (expanded != null) { next.expandValueSet(theValidationSupportContext, expansionOptions, theValueSetUrlToExpand);
ourLog.debug("ValueSet {} expanded by URL by {}", theValueSetUrlToExpand, next.getName()); if (expanded != null) {
retVal = new CacheValue<>(expanded); ourLog.debug("ValueSet {} expanded by URL by {}", theValueSetUrlToExpand, next.getName());
break; retVal = new CacheValue<>(expanded);
break;
}
} }
} }