This commit is contained in:
boccioli_m
2017-10-20 16:05:07 +02:00
parent c90ac197df
commit bce208fc70

View File

@@ -302,7 +302,7 @@ public class TestingList extends Panel {
*/
private void initialise(){
/*
// testing RPS packets
System.out.println("msg:");
int PORT1 = 0x8899; // this port
@@ -325,7 +325,7 @@ public class TestingList extends Panel {
}
System.out.println("");
// end of testing RPS packets
*/
@@ -2385,6 +2385,7 @@ public class TestingList extends Panel {
propDevice.clear();
if (deviceInList.isFile()) {
} else if (deviceInList.isDirectory()) {
System.out.println("deviceInList:" + deviceInList.getPath());
File configFile = new File(deviceInList.getPath() + FilenameUtils.separatorsToSystem("/" + TESTS_CONFIG_FILENAME));
if (configFile.exists() && !configFile.isDirectory()) {
InputStream is = new FileInputStream(configFile);
@@ -2415,6 +2416,8 @@ 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());
}
}