no message

This commit is contained in:
2024-04-26 19:27:21 +03:00
parent 92ceb84898
commit 756863ab80
3 changed files with 12 additions and 18 deletions

View File

@@ -1155,5 +1155,13 @@ public class Utils {
}
return false;
}
public static void createEmptyFile(String name) {
File file = new File(name);
try {
FileUtils.writeStringToFile(file, "");
} catch (Exception ex) {
ex.printStackTrace();
}
}
}

View File

@@ -79,13 +79,7 @@ public class MachineQueueSupervisor extends TestingPlanner<DVMPackage> {
Print("serverName=" + serverName);
Print("=====");
//----
File started = new File(supervisorHome, Constants.STARTED);
try {
FileUtils.writeStringToFile(started, "");
} catch (Exception ex) {
ex.printStackTrace();
Finalize("Can not start");
}
Utils.createEmptyFile(Constants.STARTED);
}
void CheckLocal() {
local = false;