фикс бага. не было учтено отсутствие перевода сообщений в консоли.
This commit is contained in:
@@ -167,7 +167,7 @@ public class PerformSapforTask extends Pass_2021<SapforTask> {
|
||||
res.line = Constants.Nan;
|
||||
res.value = "";
|
||||
String line = line_in.substring(9);
|
||||
System.out.println(line);
|
||||
//System.out.println(line);
|
||||
int i = 0;
|
||||
int s = 0;
|
||||
String lexeme = "";
|
||||
@@ -316,7 +316,7 @@ public class PerformSapforTask extends Pass_2021<SapforTask> {
|
||||
if (isTransformation && !messages.isEmpty()) {
|
||||
project.Open();
|
||||
project.db.BeginTransaction();
|
||||
// System.out.println("messages size=" + messages.size());
|
||||
System.out.println("messages size=" + messages.size());
|
||||
for (MessageError m : messages) {
|
||||
if (project.db.files.containsKey(m.file)) {
|
||||
DBProjectFile file = project.db.files.Data.get(m.file);
|
||||
|
||||
@@ -59,7 +59,7 @@ public class SapforTestingPlanner extends ThreadsPlanner {
|
||||
Utils.jsonToFile(results_json, new File(Global.Home, "results"));
|
||||
// System.out.println("Очистка служебных файлов");
|
||||
//тут же и строить версии.
|
||||
// Utils.deleteFilesByExtensions(new File(Global.Home),"proj","dep", "bat");
|
||||
Utils.deleteFilesByExtensions(new File(Global.Home),"proj","dep", "bat","sh"); //Потом txt тоже добавить.
|
||||
FileUtils.writeStringToFile(new File(Constants.DONE), "");
|
||||
} catch (Exception e) {
|
||||
Global.Log.PrintException(e);
|
||||
|
||||
Reference in New Issue
Block a user