продолжение рефакторинга. создал предка для класса current
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
package Visual_DVM_2021.Passes.All;
|
||||
import Common.CurrentAnchestor;
|
||||
import Common_old.Current;
|
||||
import _VisualDVM.Global;
|
||||
import Common_old.UI.Windows.Dialog.Text.ReadOnlyMultilineTextForm;
|
||||
@@ -23,7 +24,7 @@ public class ShowCompilerVersion extends Pass_2021<String> {
|
||||
protected boolean canStart(Object... args) throws Exception {
|
||||
target = null;
|
||||
if (args.length == 0) {
|
||||
if (Current.Check(Log, Current.Compiler)) {
|
||||
if (CurrentAnchestor.Check(Log, Current.Compiler)) {
|
||||
compiler = Current.getCompiler();
|
||||
needsShow = true;
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user