Update hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/index/IdHelperService.java
Co-Authored-By: Ken Stevens <khstevens@gmail.com>
This commit is contained in:
parent
49d15dbbe8
commit
cc2b7452be
|
@ -282,7 +282,7 @@ public class IdHelperService {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pid.isPresent() == false) {
|
if (pid.isEmpty()) {
|
||||||
throw new ResourceNotFoundException(new IdDt(theResourceType, theId));
|
throw new ResourceNotFoundException(new IdDt(theResourceType, theId));
|
||||||
}
|
}
|
||||||
return pid.get();
|
return pid.get();
|
||||||
|
|
Loading…
Reference in New Issue