Ignore:
Timestamp:
02/15/13 15:03:00 (11 years ago)
Author:
pharms
Message:
  • prevented findbugs warnings
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-htmlmonitor/src/main/java/de/ugoe/cs/autoquest/htmlmonitor/HtmlGUIElementManager.java

    r1069 r1075  
    1616 
    1717import java.security.MessageDigest; 
    18 import java.security.NoSuchAlgorithmException; 
    1918import java.util.HashMap; 
    2019import java.util.LinkedList; 
     
    190189            for (String fragment : fragments) { 
    191190                if (fragment != null) { 
    192                     md.update(fragment.getBytes()); 
     191                    md.update(fragment.getBytes("UTF-8")); 
    193192                } 
    194193            } 
     
    196195            return Base64.encodeBase64String(md.digest()); 
    197196        } 
    198         catch (NoSuchAlgorithmException e) { 
     197        catch (Exception e) { 
    199198            throw new IllegalStateException("Java VM does not support this code"); 
    200199        } 
Note: See TracChangeset for help on using the changeset viewer.