diff --git a/spring-statemachine-core/src/main/java/org/springframework/statemachine/support/StateMachineInterceptorList.java b/spring-statemachine-core/src/main/java/org/springframework/statemachine/support/StateMachineInterceptorList.java index dbe9f2f5..18e108e1 100644 --- a/spring-statemachine-core/src/main/java/org/springframework/statemachine/support/StateMachineInterceptorList.java +++ b/spring-statemachine-core/src/main/java/org/springframework/statemachine/support/StateMachineInterceptorList.java @@ -96,6 +96,7 @@ public class StateMachineInterceptorList { * @param stateMachine the state machine * @param rootStateMachine the root state machine */ + @SuppressWarnings({ "deprecation" }) public void preStateChange(State state, Message message, Transition transition, StateMachine stateMachine, StateMachine rootStateMachine) { for (StateMachineInterceptor interceptor : interceptors) { @@ -113,7 +114,7 @@ public class StateMachineInterceptorList { * @param stateMachine the state machine * @param rootStateMachine the root state machine */ - + @SuppressWarnings({ "deprecation" }) public void postStateChange(State state, Message message, Transition transition, StateMachine stateMachine, StateMachine rootStateMachine) { for (StateMachineInterceptor interceptor : interceptors) {