cleanup
This commit is contained in:
parent
81abe26cda
commit
67c8216d73
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue