Changed IAnyResource to IResource per feedback

This commit is contained in:
Ken Stevens 2019-07-17 10:26:16 -04:00 committed by James Agnew
parent 1d4dc5b3c5
commit 465b4daa03
1 changed files with 2 additions and 2 deletions

View File

@ -1238,8 +1238,8 @@ public abstract class BaseHapiFhirDao<T extends IBaseResource> implements IDao,
} }
protected void addPidToResource(ResourceTable theEntity, IBaseResource theResource) { protected void addPidToResource(ResourceTable theEntity, IBaseResource theResource) {
if (theResource instanceof IAnyResource) { if (theResource instanceof IResource) {
IDao.RESOURCE_PID.put((IAnyResource) theResource, theEntity.getId()); IDao.RESOURCE_PID.put((IResource) theResource, theEntity.getId());
} }
} }