Changeset 1089 for trunk/autoquest-htmlmonitor/src/main/java/de/ugoe/cs/autoquest/htmlmonitor/HtmlDocument.java
- Timestamp:
- 02/19/13 09:41:27 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-htmlmonitor/src/main/java/de/ugoe/cs/autoquest/htmlmonitor/HtmlDocument.java
r1075 r1089 45 45 46 46 /** 47 * the hash code of this document 48 */ 49 private int hashCode; 50 51 /** 47 52 * <p> 48 53 * instantiates a new document element … … 74 79 this.query = "?" + this.query; 75 80 } 81 82 this.hashCode = this.server.hashCode() + this.path.hashCode() + 83 (this.query != null ? this.query.hashCode() : 0) + 84 (this.title != null ? this.title.hashCode() : 0); 76 85 } 77 86 … … 138 147 @Override 139 148 public int hashCode() { 140 return server.hashCode() + path.hashCode() + (query != null ? query.hashCode() : 0) + 141 (title != null ? title.hashCode() : 0); 149 return hashCode; 142 150 } 143 151
Note: See TracChangeset
for help on using the changeset viewer.