public Object clone () throws CloneNotSupportedException { ExtendedConfigurationWrapper wrapper = (ExtendedConfigurationWrapper) super.clone(); wrapper.parent = (Configuration) parent.clone(); return parent; } }
/** * Returns a clone of this instance. * * @return A clone. * * @throws CloneNotSupportedException if there is a problem cloning. */ public Object clone () throws CloneNotSupportedException { ExtendedConfigurationWrapper wrapper = (ExtendedConfigurationWrapper) super.clone(); wrapper.parent = (Configuration) this.parent.clone(); return this.parent; } }
/** * Returns a clone of this instance. * * @return A clone. * * @throws CloneNotSupportedException if there is a problem cloning. */ public Object clone () throws CloneNotSupportedException { ExtendedConfigurationWrapper wrapper = (ExtendedConfigurationWrapper) super.clone(); wrapper.parent = (Configuration) this.parent.clone(); return this.parent; } }