Changed IAnyResource to IResource per feedback
This commit is contained in:
parent
1d4dc5b3c5
commit
465b4daa03
|
@ -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