@Override public void readObject(DataInput in) throws IOException { super.readObject(in); // This fix was added in file version 2 if (control.getCurrentFileVersion() > 1) ((NodeComponent) this.node).setDuplicateOnCloneTree(in.readBoolean()); }
@Override public void writeObject(DataOutput out) throws IOException { super.writeObject(out); out.writeBoolean(((NodeComponent) this.node).getDuplicateOnCloneTree()); }