From e8d49fedaf1fe4b3fbd463c712bb2386a80f0dc9 Mon Sep 17 00:00:00 2001 From: Brenin Rhodes Date: Thu, 25 Apr 2024 08:10:46 -0600 Subject: [PATCH] cleanup --- .../cdshooks/svc/cr/discovery/PrefetchTemplateBuilderDstu3.java | 1 + .../cdshooks/svc/cr/discovery/PrefetchTemplateBuilderR4.java | 1 + .../cdshooks/svc/cr/discovery/PrefetchTemplateBuilderR5.java | 1 + 3 files changed, 3 insertions(+) diff --git a/hapi-fhir-server-cds-hooks/src/main/java/ca/uhn/hapi/fhir/cdshooks/svc/cr/discovery/PrefetchTemplateBuilderDstu3.java b/hapi-fhir-server-cds-hooks/src/main/java/ca/uhn/hapi/fhir/cdshooks/svc/cr/discovery/PrefetchTemplateBuilderDstu3.java index 446a0bd2b98..0d754b3df99 100644 --- a/hapi-fhir-server-cds-hooks/src/main/java/ca/uhn/hapi/fhir/cdshooks/svc/cr/discovery/PrefetchTemplateBuilderDstu3.java +++ b/hapi-fhir-server-cds-hooks/src/main/java/ca/uhn/hapi/fhir/cdshooks/svc/cr/discovery/PrefetchTemplateBuilderDstu3.java @@ -184,6 +184,7 @@ public class PrefetchTemplateBuilderDstu3 extends BasePrefetchTemplateBuilder { return result; } + @SuppressWarnings("ReassignedVariable") protected StringBuilder getCodesStringBuilder( List theStrings, StringBuilder theCodes, String theSystem, String theCode) { String codeToken = theSystem + "|" + theCode; diff --git a/hapi-fhir-server-cds-hooks/src/main/java/ca/uhn/hapi/fhir/cdshooks/svc/cr/discovery/PrefetchTemplateBuilderR4.java b/hapi-fhir-server-cds-hooks/src/main/java/ca/uhn/hapi/fhir/cdshooks/svc/cr/discovery/PrefetchTemplateBuilderR4.java index 301fc963193..3d206821594 100644 --- a/hapi-fhir-server-cds-hooks/src/main/java/ca/uhn/hapi/fhir/cdshooks/svc/cr/discovery/PrefetchTemplateBuilderR4.java +++ b/hapi-fhir-server-cds-hooks/src/main/java/ca/uhn/hapi/fhir/cdshooks/svc/cr/discovery/PrefetchTemplateBuilderR4.java @@ -172,6 +172,7 @@ public class PrefetchTemplateBuilderR4 extends BasePrefetchTemplateBuilder { return result; } + @SuppressWarnings("ReassignedVariable") protected StringBuilder getCodesStringBuilder( List theStrings, StringBuilder theCodes, String system, String theCode) { String codeToken = system + "|" + theCode; diff --git a/hapi-fhir-server-cds-hooks/src/main/java/ca/uhn/hapi/fhir/cdshooks/svc/cr/discovery/PrefetchTemplateBuilderR5.java b/hapi-fhir-server-cds-hooks/src/main/java/ca/uhn/hapi/fhir/cdshooks/svc/cr/discovery/PrefetchTemplateBuilderR5.java index accb87a5b54..8d5c20575c2 100644 --- a/hapi-fhir-server-cds-hooks/src/main/java/ca/uhn/hapi/fhir/cdshooks/svc/cr/discovery/PrefetchTemplateBuilderR5.java +++ b/hapi-fhir-server-cds-hooks/src/main/java/ca/uhn/hapi/fhir/cdshooks/svc/cr/discovery/PrefetchTemplateBuilderR5.java @@ -173,6 +173,7 @@ public class PrefetchTemplateBuilderR5 extends BasePrefetchTemplateBuilder { return result; } + @SuppressWarnings("ReassignedVariable") protected StringBuilder getCodesStringBuilder( List theStrings, StringBuilder theCodes, String theSystem, String theCode) { String codeToken = theSystem + "|" + theCode;