From 35afa8bbfaaa27a6d8fc316c12b5110daf207952 Mon Sep 17 00:00:00 2001 From: Tadgh Date: Thu, 5 Aug 2021 14:46:18 -0400 Subject: [PATCH] tidy --- .../ca/uhn/fhir/jpa/dao/BaseTransactionProcessor.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseTransactionProcessor.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseTransactionProcessor.java index 4a961a979a8..7668b1ffae3 100644 --- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseTransactionProcessor.java +++ b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseTransactionProcessor.java @@ -1010,13 +1010,9 @@ public abstract class BaseTransactionProcessor { for (IIdType next : theAllIds) { IIdType replacement = theIdSubstitutions.get(next); - if (replacement == null) { - continue; + if (replacement != null && replacement.equals(next)) { + ourLog.debug("Placeholder resource ID \"{}\" was replaced with permanent ID \"{}\"", next, replacement); } - if (replacement.equals(next)) { - continue; - } - ourLog.debug("Placeholder resource ID \"{}\" was replaced with permanent ID \"{}\"", next, replacement); } ListMultimap deferredBroadcastEvents = theTransactionDetails.endAcceptingDeferredInterceptorBroadcasts();