no message
This commit is contained in:
@@ -2,7 +2,6 @@ package ProjectData.Files;
|
||||
import Common.Utils.CommonUtils;
|
||||
import Common_old.Constants;
|
||||
import Common_old.Current;
|
||||
import _VisualDVM.Global;
|
||||
import Common_old.Utils.Utils;
|
||||
import ProjectData.GCOV.GCOV_info;
|
||||
import ProjectData.LanguageName;
|
||||
@@ -98,7 +97,7 @@ public class DBProjectFile extends ProjectFile {
|
||||
lastLine = line_in;
|
||||
father.db.Update(this);
|
||||
} catch (Exception ex) {
|
||||
Global.Log.PrintException(ex);
|
||||
CommonUtils.MainLog.PrintException(ex);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -293,7 +292,7 @@ public class DBProjectFile extends ProjectFile {
|
||||
father.db.Update(this);
|
||||
return true;
|
||||
} catch (Exception e) {
|
||||
Global.Log.PrintException(e);
|
||||
CommonUtils.MainLog.PrintException(e);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
@@ -305,7 +304,7 @@ public class DBProjectFile extends ProjectFile {
|
||||
father.db.Update(this);
|
||||
return true;
|
||||
} catch (Exception e) {
|
||||
Global.Log.PrintException(e);
|
||||
CommonUtils.MainLog.PrintException(e);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
@@ -317,7 +316,7 @@ public class DBProjectFile extends ProjectFile {
|
||||
father.db.Update(this);
|
||||
return true;
|
||||
} catch (Exception e) {
|
||||
Global.Log.PrintException(e);
|
||||
CommonUtils.MainLog.PrintException(e);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
package ProjectData.Files.UI.Editor;
|
||||
import Common.Utils.CommonUtils;
|
||||
import Common_old.Current;
|
||||
import _VisualDVM.Global;
|
||||
import Common_old.UI.Editor.BaseEditor;
|
||||
@@ -149,7 +150,7 @@ public class SPFEditor extends BaseEditor implements SPFEditorInterface {
|
||||
painter
|
||||
));
|
||||
} catch (BadLocationException ex) {
|
||||
Global.Log.PrintException(ex);
|
||||
CommonUtils.MainLog.PrintException(ex);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,6 @@ import Common.Utils.CommonUtils;
|
||||
import Common_old.Constants;
|
||||
import Common_old.Current;
|
||||
import _VisualDVM.Global;
|
||||
import Common_old.Utils.Utils;
|
||||
import GlobalData.Settings.SettingName;
|
||||
import ProjectData.SapforData.FileObject;
|
||||
import ProjectData.SapforData.FileObjectWithMessages;
|
||||
@@ -395,7 +394,7 @@ public class Message extends FileObject {
|
||||
}
|
||||
} while (idx != -1);
|
||||
if (sum != splited.length && !message.equals("")) {
|
||||
Utils.CopyToClipboard(message);
|
||||
CommonUtils.CopyToClipboard(message);
|
||||
throw new PassException("Ошибка при декодировании сообщений на русском языке\n" +
|
||||
"message=" + CommonUtils.Brackets(message));
|
||||
}
|
||||
|
||||
@@ -249,7 +249,7 @@ public class db_project_info extends DBObject {
|
||||
try {
|
||||
db.Update(this);
|
||||
} catch (Exception e) {
|
||||
Global.Log.PrintException(e);
|
||||
CommonUtils.MainLog.PrintException(e);
|
||||
}
|
||||
}
|
||||
public void UpdatefgResistance(int resistance_in) {
|
||||
@@ -257,7 +257,7 @@ public class db_project_info extends DBObject {
|
||||
try {
|
||||
db.Update(this);
|
||||
} catch (Exception e) {
|
||||
Global.Log.PrintException(e);
|
||||
CommonUtils.MainLog.PrintException(e);
|
||||
}
|
||||
}
|
||||
public void UpdatefgScreen(double screen_in) {
|
||||
@@ -265,7 +265,7 @@ public class db_project_info extends DBObject {
|
||||
try {
|
||||
db.Update(this);
|
||||
} catch (Exception e) {
|
||||
Global.Log.PrintException(e);
|
||||
CommonUtils.MainLog.PrintException(e);
|
||||
}
|
||||
}
|
||||
public void UpdateCompilationMaxtime(int ct_in) {
|
||||
@@ -273,7 +273,7 @@ public class db_project_info extends DBObject {
|
||||
try {
|
||||
db.Update(this);
|
||||
} catch (Exception e) {
|
||||
Global.Log.PrintException(e);
|
||||
CommonUtils.MainLog.PrintException(e);
|
||||
}
|
||||
}
|
||||
public void UpdateRunMaxtime(int rt_in) {
|
||||
@@ -281,7 +281,7 @@ public class db_project_info extends DBObject {
|
||||
try {
|
||||
db.Update(this);
|
||||
} catch (Exception e) {
|
||||
Global.Log.PrintException(e);
|
||||
CommonUtils.MainLog.PrintException(e);
|
||||
}
|
||||
}
|
||||
//</editor-fold>
|
||||
@@ -298,7 +298,7 @@ public class db_project_info extends DBObject {
|
||||
try {
|
||||
db.Update(this);
|
||||
} catch (Exception e) {
|
||||
Global.Log.PrintException(e);
|
||||
CommonUtils.MainLog.PrintException(e);
|
||||
}
|
||||
}
|
||||
public void SwitchFilterMultiplied() {
|
||||
@@ -306,7 +306,7 @@ public class db_project_info extends DBObject {
|
||||
try {
|
||||
db.Update(this);
|
||||
} catch (Exception e) {
|
||||
Global.Log.PrintException(e);
|
||||
CommonUtils.MainLog.PrintException(e);
|
||||
}
|
||||
}
|
||||
public boolean IsMCopy() {
|
||||
@@ -449,7 +449,7 @@ public class db_project_info extends DBObject {
|
||||
try {
|
||||
db.Update(this);
|
||||
} catch (Exception ex) {
|
||||
Global.Log.PrintException(ex);
|
||||
CommonUtils.MainLog.PrintException(ex);
|
||||
}
|
||||
}
|
||||
public boolean UpdateLanguage(LanguageName lang_in) {
|
||||
@@ -540,7 +540,7 @@ public class db_project_info extends DBObject {
|
||||
db.Update(this);
|
||||
return true;
|
||||
} catch (Exception e) {
|
||||
Global.Log.PrintException(e);
|
||||
CommonUtils.MainLog.PrintException(e);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
@@ -548,14 +548,14 @@ public class db_project_info extends DBObject {
|
||||
try {
|
||||
db.Update(this);
|
||||
} catch (Exception e) {
|
||||
Global.Log.PrintException(e);
|
||||
CommonUtils.MainLog.PrintException(e);
|
||||
}
|
||||
}
|
||||
public void UpdateDVMCount() {
|
||||
try {
|
||||
db.Update(this);
|
||||
} catch (Exception e) {
|
||||
Global.Log.PrintException(e);
|
||||
CommonUtils.MainLog.PrintException(e);
|
||||
}
|
||||
}
|
||||
public boolean UpdateAddictedCount() {
|
||||
@@ -563,7 +563,7 @@ public class db_project_info extends DBObject {
|
||||
db.Update(this);
|
||||
return true;
|
||||
} catch (Exception e) {
|
||||
Global.Log.PrintException(e);
|
||||
CommonUtils.MainLog.PrintException(e);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
@@ -697,7 +697,7 @@ public class db_project_info extends DBObject {
|
||||
try {
|
||||
db.Update(this);
|
||||
} catch (Exception ex) {
|
||||
Global.Log.PrintException(ex);
|
||||
CommonUtils.MainLog.PrintException(ex);
|
||||
}
|
||||
}
|
||||
public mxGraphComponent DrawFunctionsGraph() {
|
||||
@@ -863,7 +863,7 @@ public class db_project_info extends DBObject {
|
||||
for (DBProjectFile file : parent.db.files.Data.values()) {
|
||||
Files.copy(file.file.toPath(),
|
||||
Paths.get(Home.getAbsolutePath(),
|
||||
Global.isWindows ? file.name :
|
||||
CommonUtils.isWindows ? file.name :
|
||||
file.name.replace('\\', '/')));
|
||||
}
|
||||
}
|
||||
@@ -1087,7 +1087,7 @@ public class db_project_info extends DBObject {
|
||||
for (DBProjectFile file : db.files.Data.values()) {
|
||||
File src_file = file.file;
|
||||
File dst_file = Paths.get(dst.getAbsolutePath(),
|
||||
Global.isWindows ? file.name :
|
||||
CommonUtils.isWindows ? file.name :
|
||||
file.name.replace('\\', '/')).toFile();
|
||||
Files.copy(src_file.toPath(), dst_file.toPath());
|
||||
}
|
||||
@@ -1232,7 +1232,7 @@ public class db_project_info extends DBObject {
|
||||
try {
|
||||
db.Update(this);
|
||||
} catch (Exception e) {
|
||||
Global.Log.PrintException(e);
|
||||
CommonUtils.MainLog.PrintException(e);
|
||||
}
|
||||
for (ParallelRegion parallelRegion : parallelRegions.Data.values())
|
||||
parallelRegion.UpdateLoopsCount();
|
||||
@@ -1241,7 +1241,7 @@ public class db_project_info extends DBObject {
|
||||
try {
|
||||
db.Update(this);
|
||||
} catch (Exception e) {
|
||||
Global.Log.PrintException(e);
|
||||
CommonUtils.MainLog.PrintException(e);
|
||||
}
|
||||
for (ParallelRegion parallelRegion : parallelRegions.Data.values())
|
||||
parallelRegion.UpdateFunctionsCount();
|
||||
@@ -1251,7 +1251,7 @@ public class db_project_info extends DBObject {
|
||||
try {
|
||||
db.Update(this);
|
||||
} catch (Exception e) {
|
||||
Global.Log.PrintException(e);
|
||||
CommonUtils.MainLog.PrintException(e);
|
||||
}
|
||||
for (ParallelRegion parallelRegion : parallelRegions.Data.values())
|
||||
parallelRegion.UpdateArraysCount();
|
||||
|
||||
Reference in New Issue
Block a user