From 374a65db7d77056320ef34782e398c4288453bff Mon Sep 17 00:00:00 2001 From: Tadgh Date: Wed, 10 Mar 2021 12:03:52 -0500 Subject: [PATCH] Fix bug --- .../java/ca/uhn/fhir/jpa/bulk/svc/BulkDataExportSvcImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/bulk/svc/BulkDataExportSvcImpl.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/bulk/svc/BulkDataExportSvcImpl.java index cfda28fa1d0..bad1ff33a5c 100644 --- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/bulk/svc/BulkDataExportSvcImpl.java +++ b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/bulk/svc/BulkDataExportSvcImpl.java @@ -473,7 +473,7 @@ public class BulkDataExportSvcImpl implements IBulkDataExportSvc { } else if (theExportStyle.equals(GROUP) || theExportStyle.equals(PATIENT)) { return getPatientCompartmentResources(); } else { - return throw new IllegalArgumentException(String.format("HAPI FHIR does not recognize a Bulk Export request of type: %s", theExportStyle)); + throw new IllegalArgumentException(String.format("HAPI FHIR does not recognize a Bulk Export request of type: %s", theExportStyle)); } }