рефакторинг
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
package GlobalData.Tasks.RunTask;
|
||||
import Common.Constants.Constants;
|
||||
import Common.Current;
|
||||
import Common.Global;
|
||||
import Common.Utils.StringTemplate;
|
||||
@@ -17,8 +18,8 @@ import java.io.File;
|
||||
import java.nio.file.Paths;
|
||||
import java.util.List;
|
||||
public class RunTask extends Task {
|
||||
public int compilation_task_id = Utils.Nan; //нужна для бинарника
|
||||
public int run_configuration_id = Utils.Nan;
|
||||
public int compilation_task_id = Constants.Nan; //нужна для бинарника
|
||||
public int run_configuration_id = Constants.Nan;
|
||||
@Description("DEFAULT ''")
|
||||
public String last_sts_name = "";
|
||||
@Description("DEFAULT 0")
|
||||
@@ -152,7 +153,7 @@ public class RunTask extends Task {
|
||||
public boolean hasDVMPar() {
|
||||
RunConfiguration config = getRunConfiguration();
|
||||
return
|
||||
config.compiler_id != Utils.Nan &&
|
||||
config.compiler_id != Constants.Nan &&
|
||||
config.getCompiler().type.equals(CompilerType.dvm) &&
|
||||
!config.getParList().isEmpty()
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user