[Minor] copy locator on cloning
This commit is contained in:
parent
8066f8d61a
commit
2bca8d7d6b
|
@ -227,6 +227,8 @@ public class Order extends AbstractStrolchRootElement implements StrolchRootElem
|
||||||
if (withVersion)
|
if (withVersion)
|
||||||
clone.setVersion(this.version);
|
clone.setVersion(this.version);
|
||||||
|
|
||||||
|
clone.locator = this.locator;
|
||||||
|
|
||||||
return clone;
|
return clone;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -307,6 +307,8 @@ public class Resource extends AbstractStrolchRootElement implements StrolchRootE
|
||||||
if (withVersion)
|
if (withVersion)
|
||||||
clone.setVersion(this.version);
|
clone.setVersion(this.version);
|
||||||
|
|
||||||
|
clone.locator = this.locator;
|
||||||
|
|
||||||
return clone;
|
return clone;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -624,6 +624,8 @@ public class Activity extends AbstractStrolchRootElement
|
||||||
if (withVersion)
|
if (withVersion)
|
||||||
clone.setVersion(this.version);
|
clone.setVersion(this.version);
|
||||||
|
|
||||||
|
clone.locator = this.locator;
|
||||||
|
|
||||||
return clone;
|
return clone;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue