Changeset 1891 for trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeimpl/TaskInstance.java
- Timestamp:
- 03/05/15 11:43:42 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeimpl/TaskInstance.java
r1405 r1891 102 102 // task instances are only equal if they are identical or if they have the same id 103 103 // (may happen, if they are cloned) 104 return (this == taskInstance) || (this.hashCode() == taskInstance.hashCode()); 104 return (this == taskInstance) || 105 ((taskInstance != null) && (this.hashCode() == taskInstance.hashCode())); 105 106 } 106 107
Note: See TracChangeset
for help on using the changeset viewer.