From 3ceb4085cbce75d2d16a132f797389eede28b39f Mon Sep 17 00:00:00 2001 From: Ken Stevens Date: Wed, 30 Oct 2019 15:21:21 -0400 Subject: [PATCH] fix test (not super happy about this fix, but I think it's the right thing to do) --- hapi-fhir-base/src/main/java/ca/uhn/fhir/util/MetaUtil.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/util/MetaUtil.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/util/MetaUtil.java index 5ff5d6f6937..9d20c195c57 100644 --- a/hapi-fhir-base/src/main/java/ca/uhn/fhir/util/MetaUtil.java +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/util/MetaUtil.java @@ -91,8 +91,6 @@ public class MetaUtil { IPrimitiveType value = (IPrimitiveType) theContext.getElementDefinition("uri").newInstance(); value.setValue(theValue); sourceExtension.setValue(value); - } else { - throw new UnsupportedOperationException(MetaUtil.class.getSimpleName() + ".setSource() not supported on FHIR Version " + theContext.getVersion().getVersion()); } }