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