[Fix] AbstractStrolchTimedState should also clone optional fields
This commit is contained in:
parent
537c6ea8d0
commit
299f789fb2
|
@ -169,6 +169,10 @@ public abstract class AbstractStrolchTimedState<T extends IValue> extends Abstra
|
||||||
|
|
||||||
protected void fillClone(AbstractStrolchTimedState<T> clone) {
|
protected void fillClone(AbstractStrolchTimedState<T> clone) {
|
||||||
super.fillClone(clone);
|
super.fillClone(clone);
|
||||||
|
clone.hidden = this.hidden;
|
||||||
|
clone.index = this.index;
|
||||||
|
clone.interpretation = this.interpretation;
|
||||||
|
clone.uom = this.uom;
|
||||||
clone.state = this.state.getCopy();
|
clone.state = this.state.getCopy();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue