Ignore:
Timestamp:
12/08/17 09:36:26 (7 years ago)
Author:
pharms
Message:
  • solved some findbugs issues
Location:
trunk/autoquest-plugin-http/src/main/java/de/ugoe/cs/autoquest/plugin/http
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-plugin-http/src/main/java/de/ugoe/cs/autoquest/plugin/http/commands/CMDparseDirHTTP.java

    r1599 r2233  
    8989        if (file.isDirectory()) { 
    9090            String[] children = file.list(); 
    91             Arrays.sort(children); 
    9291             
    93             for (String child : children) { 
    94                 File childFile = new File(file, child); 
    95                 parseFile(childFile, parser); 
     92            if (children != null) { 
     93                Arrays.sort(children); 
     94 
     95                for (String child : children) { 
     96                        File childFile = new File(file, child); 
     97                        parseFile(childFile, parser); 
     98                } 
    9699            } 
    97100        } 
  • trunk/autoquest-plugin-http/src/main/java/de/ugoe/cs/autoquest/plugin/http/eventcore/SimpleSOAPEventType.java

    r2215 r2233  
    267267            System.out.print("fu!"); 
    268268        } 
    269         return hashCode + calledMethod.hashCode() + serviceName.hashCode() + clientName.hashCode(); 
     269        return hashCode + 
     270            (calledMethod != null ? calledMethod.hashCode() : 0) + 
     271            (serviceName != null ? serviceName.hashCode() : 0) + 
     272            (clientName != null ? clientName.hashCode() : 0); 
    270273    } 
    271274 
Note: See TracChangeset for help on using the changeset viewer.