Changeset 1075 for trunk/autoquest-htmlmonitor/src/main/java/de/ugoe/cs/autoquest/htmlmonitor/HtmlGUIElementManager.java
- Timestamp:
- 02/15/13 15:03:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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 }
Note: See TracChangeset
for help on using the changeset viewer.