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) { public ResourcePersistentId getResourcePersistentId(IIdType theId) {
String idPart = theId.getIdPart(); ResourcePersistentId retval = ResourcePersistentId.fromIIdType(theId);
Long version = getVersionAsLong(theId); retval.setVersion(getVersionAsLong(theId));
return new ResourcePersistentId(idPart, version); return retval;
} }
public Long getVersionAsLong(IIdType theId) { public Long getVersionAsLong(IIdType theId) {