Ignore:
Timestamp:
12/07/17 17:08:59 (7 years ago)
Author:
pharms
Message:
  • solved some findbugs issues
File:
1 edited

Legend:

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

    r1496 r2232  
    130130        if (file.isDirectory()) { 
    131131            String[] children = file.list(); 
    132             Arrays.sort(children); 
    133132             
    134             for (String child : children) { 
    135                 File childFile = new File(file, child); 
    136                 parseFile(childFile, parser); 
     133            if (children != null) { 
     134                Arrays.sort(children); 
     135 
     136                for (String child : children) { 
     137                        File childFile = new File(file, child); 
     138                        parseFile(childFile, parser); 
     139                } 
    137140            } 
    138141        } 
Note: See TracChangeset for help on using the changeset viewer.