Changeset 1436 for trunk/autoquest-plugin-html/src/main/java/de/ugoe/cs/autoquest/plugin/html/guimodel/HTMLGUIElementSpec.java
- Timestamp:
- 03/06/14 10:30:03 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-plugin-html/src/main/java/de/ugoe/cs/autoquest/plugin/html/guimodel/HTMLGUIElementSpec.java
r1276 r1436 40 40 */ 41 41 private String type; 42 43 /** 44 * <p> 45 * the hashCode of this GUI element specification 46 * </p> 47 */ 48 private int hashCode; 42 49 43 50 /** … … 50 57 * @throws IllegalArgumentException if the provided type is null 51 58 */ 52 public HTMLGUIElementSpec(String type ) {59 public HTMLGUIElementSpec(String type, int hashCode) { 53 60 if (type == null) { 54 61 throw new IllegalArgumentException("type must not be null"); … … 56 63 57 64 this.type = type; 65 this.hashCode = hashCode; 58 66 } 59 67 … … 87 95 } 88 96 97 /* (non-Javadoc) 98 * @see java.lang.Object#hashCode() 99 */ 100 @Override 101 public int hashCode() { 102 return hashCode; 103 } 104 89 105 }
Note: See TracChangeset
for help on using the changeset viewer.