Changeset 2233 for trunk/autoquest-ui-core/src/main/java
- Timestamp:
- 12/08/17 09:36:26 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-ui-core/src/main/java/de/ugoe/cs/autoquest/commands/misc/CMDls.java
r1332 r2233 52 52 53 53 File[] filesList = dir.listFiles(); 54 for (File file : filesList) { 55 if (file.isFile()) { 56 Console.println(" " + file.getName()); 57 } else { 58 if (file.isDirectory()) { 59 Console.println("(d) " + file.getName()); 54 if (filesList != null) { 55 for (File file : filesList) { 56 if (file.isFile()) { 57 Console.println(" " + file.getName()); 58 } else { 59 if (file.isDirectory()) { 60 Console.println("(d) " + file.getName()); 61 } 60 62 } 61 63 }
Note: See TracChangeset
for help on using the changeset viewer.