Changeset 1941 for trunk/autoquest-core-usability/src/main/java/de
- Timestamp:
- 04/13/15 12:28:36 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-core-usability/src/main/java/de/ugoe/cs/autoquest/usability/DefaultValueRule.java
r1918 r1941 593 593 else if (obj instanceof ValueSelectionTarget) { 594 594 ValueSelectionTarget other = (ValueSelectionTarget) obj; 595 return (other.view.equals(this.view) && other.target.equals(this.target)); 595 return ((this.view == null) ? other.view == null : other.view.equals(this.view) && 596 other.target.equals(this.target)); 596 597 } 597 598 … … 603 604 */ 604 605 public int hashCode() { 605 return view.hashCode(); 606 if (view != null) { 607 return view.hashCode(); 608 } 609 else { 610 return 0; 611 } 606 612 } 607 613
Note: See TracChangeset
for help on using the changeset viewer.