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-htmlmonitor-test/src/test/java/de/ugoe/cs/autoquest/htmlmonitor/HtmlMonitorTest.java

    r1911 r2232  
    825825        if (file.exists()) { 
    826826            if (file.isDirectory()) { 
    827                 for (File child : file.listFiles()) { 
    828                     deleteFiles(child); 
     827                File[] files = file.listFiles(); 
     828                if (files != null) { 
     829                    for (File child : files) { 
     830                       deleteFiles(child); 
     831                    } 
    829832                } 
    830833            } 
Note: See TracChangeset for help on using the changeset viewer.