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:
James Agnew 2020-04-21 20:36:19 -04:00 committed by GitHub
parent 49d15dbbe8
commit cc2b7452be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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();