продолжение рефакторинга. создал предка для класса current
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
package Visual_DVM_2021.Passes;
|
||||
import Common.CurrentAnchestor;
|
||||
import Common_old.Current;
|
||||
import Repository.Component.Component;
|
||||
public abstract class CurrentComponentPass extends Pass_2021<Component> {
|
||||
@Override
|
||||
protected boolean canStart(Object... args) throws Exception {
|
||||
if (Current.Check(Log, Current.Component)) {
|
||||
if (CurrentAnchestor.Check(Log, Current.Component)) {
|
||||
target = Current.getComponent();
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user