рефакторинг
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
package GlobalData.RunConfiguration;
|
||||
import Common.Constants.Constants;
|
||||
import Common.Current;
|
||||
import Common.Database.iDBObject;
|
||||
import Common.Global;
|
||||
@@ -22,7 +23,7 @@ public class RunConfiguration extends iDBObject {
|
||||
public int machine_id;
|
||||
//---------------------------------------->
|
||||
@Description("DEFAULT -1")
|
||||
public int compiler_id = Utils.Nan;
|
||||
public int compiler_id = Constants.Nan;
|
||||
public String LauncherCall = ""; //например DVM или mpirun
|
||||
public String LauncherOptions = ""; //например run
|
||||
//--------------------------------------
|
||||
@@ -175,7 +176,7 @@ public class RunConfiguration extends iDBObject {
|
||||
}
|
||||
public String getLaunchShortDescription() {
|
||||
String res = "";
|
||||
if (compiler_id != Utils.Nan) {
|
||||
if (compiler_id != Constants.Nan) {
|
||||
res += getCompiler().description;
|
||||
if (!LauncherOptions.isEmpty())
|
||||
res += " " + LauncherOptions;
|
||||
|
||||
Reference in New Issue
Block a user