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/CMDcorrectHTMLLogDirs.java

    r1496 r2232  
    7878        if (file.isDirectory()) { 
    7979            String[] children = file.list(); 
    80             Arrays.sort(children); 
    8180             
    82             for (String child : children) { 
    83                 File childFile = new File(file, child); 
    84                 correctDirectory(childFile, mainFolder); 
     81            if (children != null) { 
     82                Arrays.sort(children); 
     83 
     84                for (String child : children) { 
     85                        File childFile = new File(file, child); 
     86                        correctDirectory(childFile, mainFolder); 
     87                } 
    8588            } 
    8689        } 
Note: See TracChangeset for help on using the changeset viewer.