Ignore:
Timestamp:
07/25/12 11:58:00 (12 years ago)
Author:
pharms
Message:

corrected implementation of clone

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/quest-core-tasktrees/src/main/java/de/ugoe/cs/quest/tasktrees/treeimpl/InteractionTaskImpl.java

    r451 r467  
    9898  //----------------------------------------------------------------------------------------------- 
    9999  @Override 
    100   public TaskTreeNode clone() 
     100  public InteractionTaskImpl clone() 
    101101  { 
    102     return new InteractionTaskImpl(mGUIElement, mInteraction); 
     102    // GUI element and interaction are unchangeable and do not need to be cloned 
     103    return (InteractionTaskImpl) super.clone(); 
    103104  } 
    104105 
Note: See TracChangeset for help on using the changeset viewer.