- Timestamp:
- 12/07/17 17:08:59 (7 years ago)
- Location:
- trunk/autoquest-plugin-genericevents/src/main/java/de/ugoe/cs/autoquest/plugin/genericevents/commands
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-plugin-genericevents/src/main/java/de/ugoe/cs/autoquest/plugin/genericevents/commands/CMDparseDirGenericEvents.java
r2165 r2232 112 112 if (file.isDirectory()) { 113 113 String[] children = file.list(); 114 Arrays.sort(children);115 114 116 for (String child : children) { 117 File childFile = new File(file, child); 118 parseFile(childFile, parser); 115 if (children != null) { 116 Arrays.sort(children); 117 118 for (String child : children) { 119 File childFile = new File(file, child); 120 parseFile(childFile, parser); 121 } 119 122 } 120 123 } -
trunk/autoquest-plugin-genericevents/src/main/java/de/ugoe/cs/autoquest/plugin/genericevents/commands/CMDsplitDirGenericEvents.java
r2165 r2232 95 95 if (source.isDirectory()) { 96 96 String[] children = source.list(); 97 Arrays.sort(children);98 97 99 for (String child : children) { 100 File childFile = new File(source, child); 101 File childDestination = new File(dest, child); 102 splitFile(childFile, childDestination, timediff); 98 if (children != null) { 99 Arrays.sort(children); 100 101 for (String child : children) { 102 File childFile = new File(source, child); 103 File childDestination = new File(dest, child); 104 splitFile(childFile, childDestination, timediff); 105 } 103 106 } 104 107 }
Note: See TracChangeset
for help on using the changeset viewer.