Changed IAnyResource to IResource per feedback
This commit is contained in:
parent
79ce4a30cc
commit
160b221f5f
|
@ -1238,8 +1238,8 @@ public abstract class BaseHapiFhirDao<T extends IBaseResource> 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());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue