Changeset 2243


Ignore:
Timestamp:
12/08/17 17:06:56 (7 years ago)
Author:
pharms
Message:
  • solved some findbugs issues
Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-core-usability/src/main/java/de/ugoe/cs/autoquest/usability/DefaultCursorPositioningRule.java

    r1918 r2243  
    177177     * 
    178178     */ 
    179     private class FirstViewActionStatistics { 
     179    private static class FirstViewActionStatistics { 
    180180         
    181181        /** */ 
  • trunk/autoquest-core-usability/src/main/java/de/ugoe/cs/autoquest/usability/DefaultValueRule.java

    r2146 r2243  
    747747            return "group(" + groupedTargets.size() + " targets, view " + super.getView() + ")"; 
    748748        } 
     749 
     750        /* (non-Javadoc) 
     751         * @see de.ugoe.cs.autoquest.usability.DefaultValueRule.ValueSelectionTarget#equals(java.lang.Object) 
     752         */ 
     753        @Override 
     754        public boolean equals(Object obj) { 
     755            // Use parent implementation as the parent class will point to the parent GUI Element representing this group 
     756            return super.equals(obj); 
     757        } 
     758 
     759        /* (non-Javadoc) 
     760         * @see de.ugoe.cs.autoquest.usability.DefaultValueRule.ValueSelectionTarget#hashCode() 
     761         */ 
     762        @Override 
     763        public int hashCode() { 
     764            // Use parent implementation as the parent class will point to the parent GUI Element representing this group 
     765            return super.hashCode(); 
     766        } 
    749767    } 
    750768} 
  • trunk/autoquest-core-usability/src/main/java/de/ugoe/cs/autoquest/usability/MisleadingClickCueRule.java

    r2216 r2243  
    173173     * 
    174174     */ 
    175     private class UselessClickStatistics { 
     175    private static class UselessClickStatistics { 
    176176         
    177177        /** */ 
  • trunk/autoquest-generic-event-monitor/src/main/java/de/ugoe/cs/autoquest/genericeventmonitor/GenericEventMonitorLogManager.java

    r2155 r2243  
    117117     */ 
    118118    @Override 
    119     public void handleEvents(ClientInfos          clientInfos, 
    120                              GenericEvent[]       events) 
     119    public synchronized void handleEvents(ClientInfos          clientInfos, 
     120                                          GenericEvent[]       events) 
    121121    { 
    122122        OutputWriter writer = writers.get(clientInfos.getAppId() + clientInfos.getClientId()); 
  • trunk/autoquest-generic-event-monitor/src/main/java/de/ugoe/cs/autoquest/genericeventmonitor/GenericEventMonitorServlet.java

    r2163 r2243  
    5959     * the map of event target ids to the concrete target objects. 
    6060     */ 
    61     private transient Map<String, GenericEventTarget> eventTargets = new HashMap<>(); 
     61    private Map<String, GenericEventTarget> eventTargets = new HashMap<>(); 
    6262 
    6363    /** 
    6464     * the message listener to forward received messages to. 
    6565     */ 
    66     private transient GenericEventMonitorMessageListener messageListener; 
     66    private GenericEventMonitorMessageListener messageListener; 
    6767 
    6868    /** 
  • trunk/autoquest-generic-event-monitor/src/main/java/de/ugoe/cs/autoquest/genericeventmonitor/OutputWriter.java

    r2155 r2243  
    198198     */ 
    199199    @Override 
    200     public void handleEvents(ClientInfos          clientInfos, 
    201                              GenericEvent[]       events) 
     200    public synchronized void handleEvents(ClientInfos          clientInfos, 
     201                                          GenericEvent[]       events) 
    202202    { 
    203203        if (outputWriter == null) { 
Note: See TracChangeset for help on using the changeset viewer.