Changeset 2233 for trunk/autoquest-htmlmonitor/src
- Timestamp:
- 12/08/17 09:36:26 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-htmlmonitor/src/main/java/de/ugoe/cs/autoquest/htmlmonitor/HtmlMonitorOutputWriter.java
r2232 r2233 537 537 if (oldLogDir.exists() && oldLogDir.isDirectory() && (oldLogDir.listFiles() != null)) { 538 538 boolean allFilesRenamed = true; 539 for (File oldLogFile : oldLogDir.listFiles()) { 540 allFilesRenamed &= oldLogFile.renameTo(new File(newLogDir, oldLogFile.getName())); 539 File[] children = oldLogDir.listFiles(); 540 541 if (children != null) { 542 for (File oldLogFile : children) { 543 allFilesRenamed &= oldLogFile.renameTo(new File(newLogDir, oldLogFile.getName())); 544 } 541 545 } 542 546
Note: See TracChangeset
for help on using the changeset viewer.