/** @see railo.runtime.type.Collection#duplicate(boolean) */ public Collection duplicate(boolean deepCopy) { StructImpl sct = new StructImpl(); StructImpl.copy(this, sct, deepCopy); return sct; // MUST muss deepCopy checken // return new ComponentScopeShadow(component,shadow);//new // ComponentScopeThis(component.cloneComponentImpl()); }
/** @see railo.runtime.type.Collection#duplicate(boolean) */ public Collection duplicate(boolean deepCopy) { StructImpl sct = new StructImpl(); StructImpl.copy(this, sct, deepCopy); return sct; // return new ComponentScopeThis((ComponentImpl) component.duplicate(deepCopy)); // return new ComponentScopeThis(component.cloneComponentImpl(deepCopy)); }