продолжение рефакторинга. создал предка для класса current
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
package Visual_DVM_2021.Passes.All;
|
||||
import Common.CurrentAnchestor;
|
||||
import Common_old.Current;
|
||||
import ProjectData.Project.db_project_info;
|
||||
import Visual_DVM_2021.Passes.PassCode_2021;
|
||||
@@ -8,7 +9,7 @@ import java.util.Vector;
|
||||
public class DeleteLonelyM extends Pass_2021<db_project_info> {
|
||||
@Override
|
||||
protected boolean canStart(Object... args) throws Exception {
|
||||
if (Current.Check(Log, Current.Root)) {
|
||||
if (CurrentAnchestor.Check(Log, Current.Root)) {
|
||||
target = Current.getRoot();
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user