Ignore:
Timestamp:
04/13/15 12:28:36 (10 years ago)
Author:
pharms
Message:
  • removed failing tests of not yet finished implementations
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-core-usability/src/main/java/de/ugoe/cs/autoquest/usability/DefaultValueRule.java

    r1918 r1941  
    593593            else if (obj instanceof ValueSelectionTarget) { 
    594594                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)); 
    596597            } 
    597598             
     
    603604         */ 
    604605        public int hashCode() { 
    605             return view.hashCode(); 
     606            if (view != null) { 
     607                return view.hashCode(); 
     608            } 
     609            else { 
     610                return 0; 
     611            } 
    606612        } 
    607613 
Note: See TracChangeset for help on using the changeset viewer.