This commit is contained in:
boccioli_m
2017-10-20 16:09:04 +02:00
parent bce208fc70
commit 254a6ddc46

View File

@@ -2416,9 +2416,13 @@ public class TestingList extends Panel {
}
}
} else { // if nothing found in this directory, see if there is a subdireactory
System.out.println("see subdirs of deviceInList:" + deviceInList.getPath().toString());
System.out.println("see subdirs of deviceInList:" + deviceInList.listFiles().toString());
Collections.addAll(listOfDevices, deviceInList.listFiles());
try {
System.out.println("see subdirs of deviceInList:" + deviceInList.getPath().toString());
System.out.println("see subdirs of deviceInList:" + deviceInList.listFiles().toString());
Collections.addAll(listOfDevices, deviceInList.listFiles());
} catch (Exception ex) {
Logger.getLogger(TestingList.class.getName()).log(Level.SEVERE, null, ex);
}
}
}
}