- Timestamp:
- 12/07/17 17:08:59 (7 years ago)
- Location:
- trunk/autoquest-plugin-html/src/main/java/de/ugoe/cs/autoquest/plugin/html/commands
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-plugin-html/src/main/java/de/ugoe/cs/autoquest/plugin/html/commands/CMDcompressHTMLLogFiles.java
r1276 r2232 72 72 if (directory.isDirectory()) { 73 73 File[] children = directory.listFiles(); 74 Arrays.sort(children);75 74 76 boolean containsAtLeastOneFile = false; 77 for (File child : children) { 78 compressDirectory(child); 79 80 containsAtLeastOneFile |= child.isFile(); 75 boolean containsAtLeastOneFile = false; 76 if (children != null) { 77 Arrays.sort(children); 78 79 for (File child : children) { 80 compressDirectory(child); 81 82 containsAtLeastOneFile |= child.isFile(); 83 } 81 84 } 82 85 -
trunk/autoquest-plugin-html/src/main/java/de/ugoe/cs/autoquest/plugin/html/commands/CMDcorrectHTMLLogDirs.java
r1496 r2232 78 78 if (file.isDirectory()) { 79 79 String[] children = file.list(); 80 Arrays.sort(children);81 80 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 } 85 88 } 86 89 } -
trunk/autoquest-plugin-html/src/main/java/de/ugoe/cs/autoquest/plugin/html/commands/CMDdeleteHTMLQueries.java
r2125 r2232 71 71 File[] children = directory.listFiles(); 72 72 73 for (File child : children) { 74 deleteHTMLQueriesInDirectory(child); 73 if (children != null) { 74 for (File child : children) { 75 deleteHTMLQueriesInDirectory(child); 76 } 75 77 } 76 78 } -
trunk/autoquest-plugin-html/src/main/java/de/ugoe/cs/autoquest/plugin/html/commands/CMDparseDirHTML.java
r1496 r2232 130 130 if (file.isDirectory()) { 131 131 String[] children = file.list(); 132 Arrays.sort(children);133 132 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 } 137 140 } 138 141 } -
trunk/autoquest-plugin-html/src/main/java/de/ugoe/cs/autoquest/plugin/html/commands/CMDpseudomizeHTMLTextInputs.java
r1352 r2232 88 88 File[] children = directory.listFiles(); 89 89 90 for (File child : children) { 91 pseudomizeTextInputsInDirectory 92 (child, pseudomizeSearchInputs, pseudomizeFileInputs); 90 if (children != null) { 91 for (File child : children) { 92 pseudomizeTextInputsInDirectory 93 (child, pseudomizeSearchInputs, pseudomizeFileInputs); 94 } 93 95 } 94 96 }
Note: See TracChangeset
for help on using the changeset viewer.