no message
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
package TestingSystem.DVM.DVMTasks;
|
||||
import Common.CommonConstants;
|
||||
import Common_old.Constants;
|
||||
import Common.Database.Objects.DBObject;
|
||||
import Common.Database.Objects.iDBObject;
|
||||
@@ -17,13 +18,13 @@ import java.nio.file.Paths;
|
||||
import java.util.Vector;
|
||||
public class DVMTask extends iDBObject {
|
||||
@Expose
|
||||
public int dvm_package_id = Constants.Nan;
|
||||
public int dvm_package_id = CommonConstants.Nan;
|
||||
@Expose
|
||||
public int group_id = Constants.Nan;
|
||||
public int group_id = CommonConstants.Nan;
|
||||
@Expose
|
||||
public String group_description = "";
|
||||
@Expose
|
||||
public int test_id = Constants.Nan;
|
||||
public int test_id = CommonConstants.Nan;
|
||||
@Expose
|
||||
public String test_description = "";
|
||||
@Expose
|
||||
@@ -85,7 +86,7 @@ public class DVMTask extends iDBObject {
|
||||
}
|
||||
public String getResultFile(File resultFile) {
|
||||
String res = "";
|
||||
if (dvm_package_id == Constants.Nan) res = "задача ещё не выполнялась";
|
||||
if (dvm_package_id == CommonConstants.Nan) res = "задача ещё не выполнялась";
|
||||
else {
|
||||
if (resultFile.exists()) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user