no message
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
package _VisualDVM.Passes.All;
|
||||
import Common.Passes.Pass;
|
||||
import Common.Utils.Utils_;
|
||||
import Common.Visual.Windows.Dialog.Dialog;
|
||||
import _VisualDVM.Global;
|
||||
import _VisualDVM.GlobalData.Compiler.Compiler;
|
||||
@@ -9,11 +8,9 @@ import _VisualDVM.GlobalData.CompilerEnvironment.CompilerEnvironment;
|
||||
import _VisualDVM.GlobalData.CompilerEnvironment.Json.EnvironmentJson;
|
||||
import _VisualDVM.GlobalData.CompilerEnvironment.Json.EnvironmentsJson;
|
||||
import _VisualDVM.GlobalData.CompilerEnvironment.UI.CompilerEnvironmentsFields;
|
||||
import _VisualDVM.GlobalData.CompilerOption.Json.OptionsJson;
|
||||
import _VisualDVM.Passes.PassCode;
|
||||
|
||||
import javax.swing.*;
|
||||
import java.util.Vector;
|
||||
public class PickCompilerEnvironmentsForTesting extends Pass<EnvironmentsJson> {
|
||||
Compiler compiler = null;
|
||||
//-
|
||||
@@ -32,7 +29,7 @@ public class PickCompilerEnvironmentsForTesting extends Pass<EnvironmentsJson> {
|
||||
if (!(compiler.helpLoaded || Global.mainModule.getPass(PassCode.ShowCompilerHelp).Do(compiler, false)))
|
||||
return false;
|
||||
compiler.environments.Reset();
|
||||
if (args.length>1){
|
||||
if (args.length > 1) {
|
||||
target = (EnvironmentsJson) args[1];
|
||||
compiler.environments.Synchronize(target);
|
||||
}
|
||||
@@ -61,7 +58,7 @@ public class PickCompilerEnvironmentsForTesting extends Pass<EnvironmentsJson> {
|
||||
protected void body() throws Exception {
|
||||
target.values.clear();
|
||||
for (CompilerEnvironment compilerEnv : compiler.environments.Data.values()) {
|
||||
if (compilerEnv.isSelected()){
|
||||
if (compilerEnv.isSelected()) {
|
||||
target.values.add(new EnvironmentJson(compilerEnv));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user