рефакторинг. переносил текущие объекты в другое место
This commit is contained in:
@@ -27,8 +27,8 @@ public abstract class OpenSapforVersionPass extends Pass<SapforVersion_json> {
|
||||
}
|
||||
@Override
|
||||
protected boolean canStart(Object... args) throws Exception {
|
||||
if (Current_.Check(Log, getCurrentName())) {
|
||||
target = (SapforVersion_json) Current_.get(getCurrentName());
|
||||
if (Global.mainModule.Check(Log, getCurrentName())) {
|
||||
target = (SapforVersion_json) Global.mainModule.get(getCurrentName());
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user