Changeset 470 for trunk/quest-core-tasktrees/src/main
- Timestamp:
- 07/25/12 12:11:56 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/quest-core-tasktrees/src/main/java/de/ugoe/cs/quest/tasktrees/treeimpl/TaskTreeNodeImpl.java
r469 r470 255 255 clone = (TaskTreeNodeImpl) super.clone(); 256 256 257 clone.mChildren = new ArrayList<TaskTreeNode>(); 258 259 for (TaskTreeNode child : mChildren) 260 { 261 clone.mChildren.add(child.clone()); 257 if (mChildren != null) 258 { 259 clone.mChildren = new ArrayList<TaskTreeNode>(); 260 261 for (TaskTreeNode child : mChildren) 262 { 263 clone.mChildren.add(child.clone()); 264 } 262 265 } 263 266
Note: See TracChangeset
for help on using the changeset viewer.