Ignore:
Timestamp:
12/08/17 09:36:26 (7 years ago)
Author:
pharms
Message:
  • solved some findbugs issues
File:
1 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        } 
Note: See TracChangeset for help on using the changeset viewer.