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