This commit is contained in:
Ken Stevens 2021-09-08 20:17:14 -04:00
parent 81abe26cda
commit 67c8216d73
1 changed files with 3 additions and 3 deletions

View File

@ -95,9 +95,9 @@ public class ResourceVersionMap {
}
public ResourcePersistentId getResourcePersistentId(IIdType theId) {
String idPart = theId.getIdPart();
Long version = getVersionAsLong(theId);
return new ResourcePersistentId(idPart, version);
ResourcePersistentId retval = ResourcePersistentId.fromIIdType(theId);
retval.setVersion(getVersionAsLong(theId));
return retval;
}
public Long getVersionAsLong(IIdType theId) {