mirror of
https://github.com/valitydev/adapter-bank-spring-boot-starter.git
synced 2024-11-06 01:05:20 +00:00
Extract var
This commit is contained in:
parent
a8cf70300b
commit
b5d7b04b5f
@ -33,9 +33,9 @@ public class DefaultStepResolverImpl implements StepResolver<GeneralEntryStateMo
|
||||
}
|
||||
|
||||
private static boolean isNextThreeDs(GeneralEntryStateModel stateModel) {
|
||||
return stateModel.getAdapterContext() != null && stateModel.getAdapterContext().getStep() != null
|
||||
&& (Step.FINISH_THREE_DS.equals(stateModel.getAdapterContext().getStep())
|
||||
|| Step.GENERATE_TOKEN_FINISH_THREE_DS.equals(stateModel.getAdapterContext().getStep()));
|
||||
Step step = stateModel.getAdapterContext().getStep();
|
||||
return stateModel.getAdapterContext() != null
|
||||
&& (Step.FINISH_THREE_DS.equals(step) || Step.GENERATE_TOKEN_FINISH_THREE_DS.equals(step));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user