Changeset 1075 for trunk/autoquest-htmlmonitor/src/main/java/de/ugoe/cs
- Timestamp:
- 02/15/13 15:03:00 (12 years ago)
- Location:
- trunk/autoquest-htmlmonitor/src/main/java/de/ugoe/cs/autoquest/htmlmonitor
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-htmlmonitor/src/main/java/de/ugoe/cs/autoquest/htmlmonitor/HtmlDocument.java
r1069 r1075 105 105 106 106 /* (non-Javadoc) 107 * @see de.ugoe.cs.autoquest.htmlmonitor.HtmlGUIElement#equals(de.ugoe.cs.autoquest.htmlmonitor.HtmlGUIElement)107 * @see java.lang.Object#equals(java.lang.Object) 108 108 */ 109 109 @Override 110 public boolean equals( HtmlGUIElement obj) {110 public boolean equals(Object obj) { 111 111 if (this == obj) { 112 112 return true; -
trunk/autoquest-htmlmonitor/src/main/java/de/ugoe/cs/autoquest/htmlmonitor/HtmlGUIElement.java
r1069 r1075 127 127 } 128 128 129 /* (non-Javadoc)130 * @see java.lang.Object#equals(java.lang.Object)131 */132 public abstract boolean equals(HtmlGUIElement obj);133 134 129 } -
trunk/autoquest-htmlmonitor/src/main/java/de/ugoe/cs/autoquest/htmlmonitor/HtmlGUIElementManager.java
r1069 r1075 16 16 17 17 import java.security.MessageDigest; 18 import java.security.NoSuchAlgorithmException;19 18 import java.util.HashMap; 20 19 import java.util.LinkedList; … … 190 189 for (String fragment : fragments) { 191 190 if (fragment != null) { 192 md.update(fragment.getBytes( ));191 md.update(fragment.getBytes("UTF-8")); 193 192 } 194 193 } … … 196 195 return Base64.encodeBase64String(md.digest()); 197 196 } 198 catch ( NoSuchAlgorithmException e) {197 catch (Exception e) { 199 198 throw new IllegalStateException("Java VM does not support this code"); 200 199 } -
trunk/autoquest-htmlmonitor/src/main/java/de/ugoe/cs/autoquest/htmlmonitor/HtmlMonitorServlet.java
r1069 r1075 78 78 * the message listener to forward received messages to. 79 79 */ 80 private HtmlGUIElementManager guiElementManager = new HtmlGUIElementManager();80 private transient HtmlGUIElementManager guiElementManager = new HtmlGUIElementManager(); 81 81 82 82 /** -
trunk/autoquest-htmlmonitor/src/main/java/de/ugoe/cs/autoquest/htmlmonitor/HtmlPageElement.java
r1069 r1075 169 169 170 170 /* (non-Javadoc) 171 * @see de.ugoe.cs.autoquest.htmlmonitor.HtmlGUIElement#equals(de.ugoe.cs.autoquest.htmlmonitor.HtmlGUIElement)171 * @see java.lang.Object#equals(java.lang.Object) 172 172 */ 173 173 @Override 174 public boolean equals( HtmlGUIElement obj) {174 public boolean equals(Object obj) { 175 175 if (this == obj) { 176 176 return true; -
trunk/autoquest-htmlmonitor/src/main/java/de/ugoe/cs/autoquest/htmlmonitor/HtmlServer.java
r1069 r1075 82 82 83 83 /* (non-Javadoc) 84 * @see de.ugoe.cs.autoquest.htmlmonitor.HtmlGUIElement#equals(de.ugoe.cs.autoquest.htmlmonitor.HtmlGUIElement)84 * @see java.lang.Object#equals(java.lang.Object) 85 85 */ 86 86 @Override 87 public boolean equals( HtmlGUIElement obj) {87 public boolean equals(Object obj) { 88 88 if (this == obj) { 89 89 return true;
Note: See TracChangeset
for help on using the changeset viewer.