From 160b221f5fd5757580e9b03a4cfef297f44d71b1 Mon Sep 17 00:00:00 2001 From: Ken Stevens Date: Wed, 17 Jul 2019 10:26:16 -0400 Subject: [PATCH] Changed IAnyResource to IResource per feedback --- .../src/main/java/ca/uhn/fhir/jpa/dao/BaseHapiFhirDao.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseHapiFhirDao.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseHapiFhirDao.java index 5ef815576be..5388b4e4b26 100644 --- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseHapiFhirDao.java +++ b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseHapiFhirDao.java @@ -1238,8 +1238,8 @@ public abstract class BaseHapiFhirDao implements IDao, } protected void addPidToResource(ResourceTable theEntity, IBaseResource theResource) { - if (theResource instanceof IAnyResource) { - IDao.RESOURCE_PID.put((IAnyResource) theResource, theEntity.getId()); + if (theResource instanceof IResource) { + IDao.RESOURCE_PID.put((IResource) theResource, theEntity.getId()); } }