[Minor] copy locator on cloning

This commit is contained in:
Robert von Burg 2020-08-19 19:11:13 +02:00
parent 8066f8d61a
commit 2bca8d7d6b
3 changed files with 6 additions and 0 deletions

View File

@ -227,6 +227,8 @@ public class Order extends AbstractStrolchRootElement implements StrolchRootElem
if (withVersion)
clone.setVersion(this.version);
clone.locator = this.locator;
return clone;
}

View File

@ -307,6 +307,8 @@ public class Resource extends AbstractStrolchRootElement implements StrolchRootE
if (withVersion)
clone.setVersion(this.version);
clone.locator = this.locator;
return clone;
}

View File

@ -624,6 +624,8 @@ public class Activity extends AbstractStrolchRootElement
if (withVersion)
clone.setVersion(this.version);
clone.locator = this.locator;
return clone;
}