Ignore:
Timestamp:
02/15/13 15:03:00 (12 years ago)
Author:
pharms
Message:
  • prevented findbugs warnings
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  
    105105 
    106106    /* (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) 
    108108     */ 
    109109    @Override 
    110     public boolean equals(HtmlGUIElement obj) { 
     110    public boolean equals(Object obj) { 
    111111        if (this == obj) { 
    112112            return true; 
  • trunk/autoquest-htmlmonitor/src/main/java/de/ugoe/cs/autoquest/htmlmonitor/HtmlGUIElement.java

    r1069 r1075  
    127127    } 
    128128 
    129     /* (non-Javadoc) 
    130      * @see java.lang.Object#equals(java.lang.Object) 
    131      */ 
    132     public abstract boolean equals(HtmlGUIElement obj); 
    133  
    134129} 
  • 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        } 
  • trunk/autoquest-htmlmonitor/src/main/java/de/ugoe/cs/autoquest/htmlmonitor/HtmlMonitorServlet.java

    r1069 r1075  
    7878     * the message listener to forward received messages to. 
    7979     */ 
    80     private HtmlGUIElementManager guiElementManager = new HtmlGUIElementManager(); 
     80    private transient HtmlGUIElementManager guiElementManager = new HtmlGUIElementManager(); 
    8181 
    8282    /** 
  • trunk/autoquest-htmlmonitor/src/main/java/de/ugoe/cs/autoquest/htmlmonitor/HtmlPageElement.java

    r1069 r1075  
    169169 
    170170    /* (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) 
    172172     */ 
    173173    @Override 
    174     public boolean equals(HtmlGUIElement obj) { 
     174    public boolean equals(Object obj) { 
    175175        if (this == obj) { 
    176176            return true; 
  • trunk/autoquest-htmlmonitor/src/main/java/de/ugoe/cs/autoquest/htmlmonitor/HtmlServer.java

    r1069 r1075  
    8282 
    8383    /* (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) 
    8585     */ 
    8686    @Override 
    87     public boolean equals(HtmlGUIElement obj) { 
     87    public boolean equals(Object obj) { 
    8888        if (this == obj) { 
    8989            return true; 
Note: See TracChangeset for help on using the changeset viewer.