no message
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
package TestingSystem.SAPFOR.Json;
|
||||
import Common.CommonConstants;
|
||||
import Common.Utils.CommonUtils;
|
||||
import Common_old.Constants;
|
||||
import _VisualDVM.Global;
|
||||
import Common_old.Utils.Utils;
|
||||
@@ -54,7 +56,7 @@ public class SapforVersion_json implements Serializable {
|
||||
state = SapforVersionState.Empty;
|
||||
comparisonState = VersionComparisonState.Unknown;
|
||||
//--
|
||||
String relativePath = Global.isWindows ? Utils.toW(version) : version;
|
||||
String relativePath = Global.isWindows ? CommonUtils.toW(version) : version;
|
||||
Home = Paths.get(configurationRoot.getAbsolutePath(), relativePath).toFile();
|
||||
files = new LinkedHashMap<>();
|
||||
//--
|
||||
@@ -133,7 +135,7 @@ public class SapforVersion_json implements Serializable {
|
||||
public MessageError unpackMessage(String line_in) throws Exception {
|
||||
MessageError res = new MessageError();
|
||||
res.file = "";
|
||||
res.line = Constants.Nan;
|
||||
res.line = CommonConstants.Nan;
|
||||
res.value = "";
|
||||
String line = line_in.substring(9);
|
||||
int i = 0;
|
||||
@@ -250,7 +252,7 @@ public class SapforVersion_json implements Serializable {
|
||||
//--
|
||||
public void createProject(File rootHome) throws Exception {
|
||||
project = null;
|
||||
String version_ = Global.isWindows ? Utils.toW(version) : Utils.toU(version);
|
||||
String version_ = Global.isWindows ? CommonUtils.toW(version) : CommonUtils.toU(version);
|
||||
project = new db_project_info();
|
||||
project.Home = Paths.get(rootHome.getAbsolutePath(), version_).toFile();
|
||||
project.name = project.Home.getName();
|
||||
@@ -303,6 +305,6 @@ public class SapforVersion_json implements Serializable {
|
||||
}
|
||||
@Override
|
||||
public String toString() {
|
||||
return Home.getName() + " : " + Utils.Brackets(description) + " файлы: " + files.size();
|
||||
return Home.getName() + " : " + CommonUtils.Brackets(description) + " файлы: " + files.size();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user