From 0585e475d6e793761d50387084867c6818242954 Mon Sep 17 00:00:00 2001 From: saquino0827 Date: Fri, 9 Feb 2024 15:35:21 -0600 Subject: [PATCH] Spotless apply catch --- .../external/hapi/HapiMessageConverterHelper.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/etor/src/main/java/gov/hhs/cdc/trustedintermediary/external/hapi/HapiMessageConverterHelper.java b/etor/src/main/java/gov/hhs/cdc/trustedintermediary/external/hapi/HapiMessageConverterHelper.java index e7014b110..32fccf0c7 100644 --- a/etor/src/main/java/gov/hhs/cdc/trustedintermediary/external/hapi/HapiMessageConverterHelper.java +++ b/etor/src/main/java/gov/hhs/cdc/trustedintermediary/external/hapi/HapiMessageConverterHelper.java @@ -1,14 +1,12 @@ package gov.hhs.cdc.trustedintermediary.external.hapi; +import gov.hhs.cdc.trustedintermediary.wrappers.Logger; +import javax.inject.Inject; import org.hl7.fhir.r4.model.Bundle; import org.hl7.fhir.r4.model.Coding; import org.hl7.fhir.r4.model.MessageHeader; import org.hl7.fhir.r4.model.Meta; -import gov.hhs.cdc.trustedintermediary.wrappers.Logger; - -import javax.inject.Inject; - public class HapiMessageConverterHelper { private static final HapiMessageConverterHelper INSTANCE = new HapiMessageConverterHelper(); @@ -35,7 +33,8 @@ public void addEtorTagToBundle(Bundle messageBundle) { } public MessageHeader findOrInitializeMessageHeader(Bundle bundle) { - var messageHeader = HapiHelper.resourcesInBundle(bundle, MessageHeader.class).findFirst().orElse(null); + var messageHeader = + HapiHelper.resourcesInBundle(bundle, MessageHeader.class).findFirst().orElse(null); if (messageHeader == null) { messageHeader = new MessageHeader(); bundle.addEntry(new Bundle.BundleEntryComponent().setResource(messageHeader));